cvs: php4 /ext/standard basic_functions.c

From: Date: Thu, 19 Sep 2002 16:01:55 +0000
Subject: cvs: php4 /ext/standard basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14096@lists.php.net to get a copy of this message
zeev Thu Sep 19 12:01:55 2002 EDT Modified files: /php4/ext/standard basic_functions.c Log: Fix the last part of bug #13982 (ignore_user_abort() settings were 'leaking' between requests) Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.506 php4/ext/standard/basic_functions.c:1.507 --- php4/ext/standard/basic_functions.c:1.506 Tue Sep 17 08:59:36 2002 +++ php4/ext/standard/basic_functions.c Thu Sep 19 12:01:53 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.506 2002/09/17 12:59:36 hholzgra Exp $ */ +/* $Id: basic_functions.c,v 1.507 2002/09/19 16:01:53 zeev Exp $ */ #include "php.h" #include "php_streams.h" @@ -2211,8 +2211,8 @@ if (zend_get_parameters_ex(1, &arg) == FAILURE) { RETURN_FALSE; } - convert_to_boolean_ex(arg); - PG(ignore_user_abort) = (zend_bool) Z_LVAL_PP(arg); + convert_to_string_ex(arg); + zend_alter_ini_entry("ignore_user_abort", sizeof("ignore_user_abort"), Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), PHP_INI_USER, PHP_INI_STAGE_RUNTIME); break; default:

« previous php.cvs (#14096) next »