cvs: php4 /sapi/cli php_cli.c
| From: | Marcus Boerger | Date: | Sat, 19 Apr 2003 13:54:01 +0000 |
| Subject: | cvs: php4 /sapi/cli php_cli.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20383@lists.php.net to get a copy of this message | ||
helly Sat Apr 19 09:54:01 2003 EDT
Modified files:
/php4/sapi/cli php_cli.c
Log:
Do init CG(in_compilation) here until someone finds a better place
Index: php4/sapi/cli/php_cli.c
diff -u php4/sapi/cli/php_cli.c:1.82 php4/sapi/cli/php_cli.c:1.83
--- php4/sapi/cli/php_cli.c:1.82 Fri Apr 18 20:02:50 2003
+++ php4/sapi/cli/php_cli.c Sat Apr 19 09:54:01 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_cli.c,v 1.82 2003/04/19 00:02:50 helly Exp $ */
+/* $Id: php_cli.c,v 1.83 2003/04/19 13:54:01 helly Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -608,6 +608,7 @@
/*zend_alter_ini_entry("<name>", len, "<value>", 1,
PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);*/
zend_uv.html_errors = 0; /* tell the engine we're in non-html mode */
+ CG(in_compilation) = 0; /* not initialized but needed for several options */
if (cli_sapi_module.php_ini_path_override && cli_sapi_module.php_ini_ignore) {
SG(headers_sent) = 1;