cvs: php4 /sapi/cli php_cli.c

From: Date: Wed, 09 Apr 2003 00:38:19 +0000
Subject: cvs: php4 /sapi/cli php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20186@lists.php.net to get a copy of this message
helly Tue Apr 8 20:38:19 2003 EDT Modified files: /php4/sapi/cli php_cli.c Log: Hopefully last fix on error reporting Index: php4/sapi/cli/php_cli.c diff -u php4/sapi/cli/php_cli.c:1.79 php4/sapi/cli/php_cli.c:1.80 --- php4/sapi/cli/php_cli.c:1.79 Sun Mar 30 09:00:09 2003 +++ php4/sapi/cli/php_cli.c Tue Apr 8 20:38:19 2003 @@ -903,6 +903,7 @@ zend_llist_apply(&global_vars, (llist_apply_func_t) php_register_command_line_global_vars TSRMLS_CC); zend_llist_destroy(&global_vars); + PG(during_request_startup) = 0; switch (behavior) { case PHP_MODE_STANDARD: if (strcmp(file_handle.filename, "-")) { @@ -912,7 +913,6 @@ exit_status = EG(exit_status); break; case PHP_MODE_LINT: - PG(during_request_startup) = 0; exit_status = php_lint_script(&file_handle TSRMLS_CC); if (exit_status==SUCCESS) { zend_printf("No syntax errors detected in %s\n", file_handle.filename);

« previous php.cvs (#20186) next »