]> granicus.if.org Git - php/commitdiff
MFH
authorIlia Alshanetsky <iliaa@php.net>
Thu, 12 Dec 2002 18:51:02 +0000 (18:51 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 12 Dec 2002 18:51:02 +0000 (18:51 +0000)
ext/standard/basic_functions.c

index 242342deb6d58981bfbdd637591f73caf3ab2a4e..154af12f621afa71bfea342b5ac7da3a7551a23c 100644 (file)
@@ -1509,9 +1509,6 @@ PHP_FUNCTION(getopt)
        /* Disable getopt()'s error messages. */
        opterr = 0;
 
-       /* reset option parser position */
-       optind = 0;
-
        /* Invoke getopt(3) on the argument array. */
 #ifdef HARTMUT_0
        while ((o = getopt_long(argc, argv, options, longopts, &longindex)) != -1) {