c64073fb1d
- correct pcre BR version (#333021) - restore metaphone fix (#205714) - add READMEs to php-cli
15 lines
438 B
Diff
15 lines
438 B
Diff
|
|
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=135828
|
|
|
|
--- php-4.3.9/ext/standard/metaphone.c.metaphone
|
|
+++ php-4.3.9/ext/standard/metaphone.c
|
|
@@ -152,7 +152,7 @@
|
|
(*phoned_word)[p_idx++] = c; \
|
|
}
|
|
/* Slap a null character on the end of the phoned word */
|
|
-#define End_Phoned_Word {(*phoned_word)[p_idx] = '\0';}
|
|
+#define End_Phoned_Word Phonize('\0')
|
|
/* How long is the phoned word? */
|
|
#define Phone_Len (p_idx)
|
|
|