diff options
author | Thies C. Arntzen <thies@php.net> | 2000-04-13 13:04:02 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-04-13 13:04:02 +0000 |
commit | 9f598b187c9f3755b5a6a0db7e6be9872fbdc938 (patch) | |
tree | a678e672a12b96d18bfa2591937ec41889f25b69 /ext/standard/strnatcmp.c | |
parent | 06e504d32a2a879abd32e05b674292bc059d1e8c (diff) | |
download | php-git-9f598b187c9f3755b5a6a0db7e6be9872fbdc938.tar.gz |
the asset call caused an undefined __eprintf here!
Diffstat (limited to 'ext/standard/strnatcmp.c')
-rw-r--r-- | ext/standard/strnatcmp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/strnatcmp.c b/ext/standard/strnatcmp.c index 2700ef69e0..2db6d94faa 100644 --- a/ext/standard/strnatcmp.c +++ b/ext/standard/strnatcmp.c @@ -47,7 +47,10 @@ PHPAPI int strnatcmp_ex(char const *a, size_t a_len, char const *b, size_t b_len if (a_len == 0 || b_len == 0) return a_len - b_len; +/* assert(a && b); +*/ + ai = bi = 0; while (1) { ca = a[ai]; cb = b[bi]; |