projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b5df4
)
Make it compile again
author
Danny Heijl
<danny@php.net>
Wed, 28 Jul 1999 11:26:58 +0000
(11:26 +0000)
committer
Danny Heijl
<danny@php.net>
Wed, 28 Jul 1999 11:26:58 +0000
(11:26 +0000)
ext/standard/soundex.c
patch
|
blob
|
history
diff --git
a/ext/standard/soundex.c
b/ext/standard/soundex.c
index c81ef5906954f45cc1db53c07aedb2e54a789ca4..fc2d81c3d1113e7a16b83966bbc104a3be8b2361 100644
(file)
--- a/
ext/standard/soundex.c
+++ b/
ext/standard/soundex.c
@@
-29,7
+29,7
@@
PHP_FUNCTION(soundex)
{
char *somestring;
- int
i, small, len
;
+ int
i, small, len, code, last
;
pval *arg;
char soundex[4 + 1];
@@
-72,6
+72,7
@@
PHP_FUNCTION(soundex)
len = arg->value.str.len;
/* build soundex string */
+ last = -1;
for (i = 0, small = 0; i < len && small < 4; i++) {
/* convert chars to upper case and strip non-letter chars */
/* BUG: should also map here accented letters used in non */