cvs: /php4/ext/standard basic_functions.c string.c

From: Date: Tue, 21 Sep 1999 17:06:31 +0000
Subject: cvs: /php4/ext/standard basic_functions.c string.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-4757@lists.php.net to get a copy of this message
andrey Tue Sep 21 13:06:31 1999 EDT Modified files: /php4/ext/standard basic_functions.c string.c Log: A couple of fixes. Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.92 php4/ext/standard/basic_functions.c:1.93 --- php4/ext/standard/basic_functions.c:1.92 Tue Sep 21 10:36:41 1999 +++ php4/ext/standard/basic_functions.c Tue Sep 21 13:06:30 1999 @@ -621,10 +621,6 @@ pval_copy_constructor(return_value); } -static int array_reverse_key_compare(const void *a, const void *b) -{ return array_key_compare(a,b)*-1; -} - static int array_key_compare(const void *a, const void *b) { Bucket *first; @@ -649,6 +645,10 @@ } } +static int array_reverse_key_compare(const void *a, const void *b) +{ + return array_key_compare(a,b)*-1; +} PHP_FUNCTION(krsort) { Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.40 php4/ext/standard/string.c:1.41 --- php4/ext/standard/string.c:1.40 Mon Sep 20 16:05:26 1999 +++ php4/ext/standard/string.c Tue Sep 21 13:06:30 1999 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.40 1999/09/20 20:05:26 eschmid Exp $ */ +/* $Id: string.c,v 1.41 1999/09/21 17:06:30 andrey Exp $ */ /* Synced with php3 revision 1.193 1999-06-16 [ssb] */ @@ -1889,7 +1889,7 @@ done =1; break; default: - if(!isspace(c)) { + if(!isspace((int)c)) { if(state==0) { state=1; if(c!='/') *(n++) = c;

« previous php.version4 (#4757) next »