Re: cvs: php4 /sapi/cgi cgi_main.c

From: Date: Sun, 26 May 2002 18:09:33 +0000
Subject: Re: cvs: php4 /sapi/cgi cgi_main.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12104@lists.php.net to get a copy of this message
Edin Kadribasic wrote:
edink Sun May 26 09:12:33 2002 EDT
  Modified files:                  /php4/sapi/cgi	cgi_main.c   Log:
Merge from cli.
I know there are some people who are affected by this. IMO, this patch should be merged for 4.2.2, since 4.3.0 won't be released soon. News entry for this may be needed. -- Yasuo Ohgaki
Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.170 php4/sapi/cgi/cgi_main.c:1.171 --- php4/sapi/cgi/cgi_main.c:1.170 Sat May 11 10:26:29 2002 +++ php4/sapi/cgi/cgi_main.c Sun May 26 09:12:30 2002 @@ -1020,11 +1020,8 @@ switch (behavior) { case PHP_MODE_STANDARD: - if (php_execute_script(&file_handle TSRMLS_CC)) { - exit_status = EG(exit_status); - } else { - exit_status = 255; - } + php_execute_script(&file_handle TSRMLS_CC); + exit_status = EG(exit_status); break; case PHP_MODE_LINT: PG(during_request_startup) = 0;


« previous php.cvs (#12104) next »