summaryrefslogtreecommitdiff
path: root/ext/standard/strnatcmp.c
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-04-13 13:04:02 +0000
committerThies C. Arntzen <thies@php.net>2000-04-13 13:04:02 +0000
commit9f598b187c9f3755b5a6a0db7e6be9872fbdc938 (patch)
treea678e672a12b96d18bfa2591937ec41889f25b69 /ext/standard/strnatcmp.c
parent06e504d32a2a879abd32e05b674292bc059d1e8c (diff)
downloadphp-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.c3
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];