cvs: /php4/ext/standard strnatcmp.c
| From: | Thies C. Arntzen | Date: | Thu, 13 Apr 2000 13:04:32 +0000 |
| Subject: | cvs: /php4/ext/standard strnatcmp.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13496@lists.php.net to get a copy of this message | ||
thies Thu Apr 13 06:04:32 2000 EDT
Modified files:
/php4/ext/standard strnatcmp.c
Log:
the asset call caused an undefined __eprintf here!
Index: php4/ext/standard/strnatcmp.c
diff -u php4/ext/standard/strnatcmp.c:1.1 php4/ext/standard/strnatcmp.c:1.2
--- php4/ext/standard/strnatcmp.c:1.1 Wed Apr 12 12:39:02 2000
+++ php4/ext/standard/strnatcmp.c Thu Apr 13 06:04:02 2000
@@ -35,7 +35,7 @@
#endif
static char const *version UNUSED =
- "$Id: strnatcmp.c,v 1.1 2000/04/12 19:39:02 andrei Exp $";
+ "$Id: strnatcmp.c,v 1.2 2000/04/13 13:04:02 thies Exp $";
PHPAPI int strnatcmp_ex(char const *a, size_t a_len, char const *b, size_t b_len, int fold_case)
{
@@ -47,7 +47,10 @@
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];