cvs: php4 /sapi/cli php_cli.c
| From: | Marcus Boerger | Date: | Sun, 27 Apr 2003 19:41:36 +0000 |
| Subject: | cvs: php4 /sapi/cli php_cli.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20530@lists.php.net to get a copy of this message | ||
helly Sun Apr 27 15:41:36 2003 EDT
Modified files:
/php4/sapi/cli php_cli.c
Log:
Reset option parsing
# i swear i had them in before last commit
Index: php4/sapi/cli/php_cli.c
diff -u php4/sapi/cli/php_cli.c:1.87 php4/sapi/cli/php_cli.c:1.88
--- php4/sapi/cli/php_cli.c:1.87 Sun Apr 27 15:19:29 2003
+++ php4/sapi/cli/php_cli.c Sun Apr 27 15:41:36 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_cli.c,v 1.87 2003/04/27 19:19:29 helly Exp $ */
+/* $Id: php_cli.c,v 1.88 2003/04/27 19:41:36 helly Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -683,6 +683,8 @@
INI_HARDCODED("implicit_flush", "1");
INI_HARDCODED("max_execution_time", "0");
+ optind = orig_optind;
+ optarg = orig_optarg;
while ((c = php_getopt(argc, argv, OPTIONS, &optarg, &optind, 0)) != -1) {
switch (c) {