cvs: php-src(PHP_4_3) / NEWS /ext/standard basic_functions.c

From: Date: Mon, 20 Oct 2003 01:59:49 +0000
Subject: cvs: php-src(PHP_4_3) / NEWS /ext/standard basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24182@lists.php.net to get a copy of this message
iliaa Sun Oct 19 21:59:49 2003 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/ext/standard basic_functions.c Log: MFH: Fixed bug #25895 (Incorrect detection of safe_mode limited ini options) Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.438 php-src/NEWS:1.1247.2.439 --- php-src/NEWS:1.1247.2.438 Tue Oct 14 23:32:16 2003 +++ php-src/NEWS Sun Oct 19 21:59:47 2003 @@ -5,6 +5,8 @@ on request shutdown). (Wez) - Fixed multibyte regex engine to properly handle ".*" pattern under POSIX compatible mode. (K.Kosako <kosako at sofnec.co.jp>, Moriyoshi) +- Fixed bug #25895 (Incorrect detection of safe_mode limited ini options). + (Ilia) - Fixed bug #25836 (last key of multi-dimensional array passed via GPC not being escaped when magic_quotes_gpc is on). (Ilia) - Fixed bug #25814 (Make flock() return correct value when 3rd argument is Index: php-src/ext/standard/basic_functions.c diff -u php-src/ext/standard/basic_functions.c:1.543.2.24 php-src/ext/standard/basic_functions.c:1.543.2.25 --- php-src/ext/standard/basic_functions.c:1.543.2.24 Tue Oct 14 20:19:30 2003 +++ php-src/ext/standard/basic_functions.c Sun Oct 19 21:59:48 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.543.2.24 2003/10/15 00:19:30 wez Exp $ */ +/* $Id: basic_functions.c,v 1.543.2.25 2003/10/20 01:59:48 iliaa Exp $ */ #include "php.h" #include "php_streams.h" @@ -2317,7 +2317,7 @@ return 0; } - return strncmp(option_name, new_option_name, option_len); + return !strncmp(option_name, new_option_name, option_len); } /* {{{ proto string ini_set(string varname, string newvalue)

« previous php.cvs (#24182) next »