Re: cvs: php4 /main main.c

From: Date: Mon, 19 Nov 2001 15:14:12 +0000
Subject: Re: cvs: php4 /main main.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8256@lists.php.net to get a copy of this message
does this need a news entry.. might be a fix people are interested in.. - James ----- Original Message ----- From: "Zeev Suraski" <zeev@zend.com> To: <php-cvs@lists.php.net> Sent: Monday, November 19, 2001 2:59 PM Subject: [PHP-CVS] cvs: php4 /main main.c > zeev Mon Nov 19 09:59:38 2001 EDT > > Modified files: > /php4/main main.c > Log: > Fix set_time_limit() to affect only the current request (fix bug #13711) > > > Index: php4/main/main.c > diff -u php4/main/main.c:1.410 php4/main/main.c:1.411 > --- php4/main/main.c:1.410 Sat Oct 6 16:13:38 2001 > +++ php4/main/main.c Mon Nov 19 09:59:38 2001 > @@ -18,7 +18,7 @@ > +----------------------------------------------------------------------+ > */ > > -/* $Id: main.c,v 1.410 2001/10/06 20:13:38 derick Exp $ */ > +/* $Id: main.c,v 1.411 2001/11/19 14:59:38 zeev Exp $ */ > > /* {{{ includes > */ > @@ -506,9 +506,8 @@ > WRONG_PARAM_COUNT; > } > > - convert_to_long_ex(new_timeout); > - zend_unset_timeout(TSRMLS_C); > - zend_set_timeout(Z_LVAL_PP(new_timeout)); > + convert_to_string_ex(new_timeout); > + zend_alter_ini_entry("max_execution_time", sizeof("max_execution_time"), Z_STRVAL_PP(new_timeout), Z_STRLEN_PP(new_timeout), PHP_INI_USER, PHP_INI_STAGE_RUNTIME); > } > /* }}} */ > > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net > For additional commands, e-mail: php-cvs-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.cvs (#8256) next »