msopacua Thu Dec 12 13:50:26 2002 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
Fix for BSD's (possibly others):
Accept system default, for the index. Don't initialize it.
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.547
php4/ext/standard/basic_functions.c:1.548
--- php4/ext/standard/basic_functions.c:1.547 Thu Dec 5 17:28:01 2002
+++ php4/ext/standard/basic_functions.c Thu Dec 12 13:50:26 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.547 2002/12/05 22:28:01 iliaa Exp $ */
+/* $Id: basic_functions.c,v 1.548 2002/12/12 18:50:26 msopacua Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -1522,9 +1522,6 @@
/* Disable getopt()'s error messages. */
opterr = 0;
-
- /* reset option parser position */
- optind = 0;
/* Invoke getopt(3) on the argument array. */
#ifdef HARTMUT_0
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php