cvs: /php4/ext/standard string.c

From: Date: Fri, 10 Dec 1999 04:45:03 +0000
Subject: cvs: /php4/ext/standard string.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-7752@lists.php.net to get a copy of this message
andrei Thu Dec 9 23:45:03 1999 EDT Modified files: /php4/ext/standard string.c Log: A few more fixes for php_strtolower(). Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.68 php4/ext/standard/string.c:1.69 --- php4/ext/standard/string.c:1.68 Thu Dec 9 18:45:30 1999 +++ php4/ext/standard/string.c Thu Dec 9 23:44:32 1999 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.68 1999/12/09 23:45:30 andrei Exp $ */ +/* $Id: string.c,v 1.69 1999/12/10 04:44:32 andrei Exp $ */ /* Synced with php3 revision 1.193 1999-06-16 [ssb] */ @@ -425,6 +425,7 @@ { register int ch; char *c; + int i; c = s; for (i=0; i<len; i++) { @@ -2161,7 +2162,7 @@ rp = rbuf; br = 0; if(allow) { - php_strtolower(allow); + php_strtolower(allow, len); tbuf = emalloc(PHP_TAG_BUF_SIZE+1); tp = tbuf; } else {

« previous php.version4 (#7752) next »