diff options
author | Melvyn Sopacua <msopacua@php.net> | 2002-12-12 18:50:26 +0000 |
---|---|---|
committer | Melvyn Sopacua <msopacua@php.net> | 2002-12-12 18:50:26 +0000 |
commit | 44b7c16b03774c682eb6343b688f021b9ed093db (patch) | |
tree | 56ec289bccf7a47527a0788a4aa353e52b0907a4 | |
parent | c5d4e4b32105dbd74972ef042ca8c2023155974a (diff) | |
download | php-git-44b7c16b03774c682eb6343b688f021b9ed093db.tar.gz |
Fix for BSD's (possibly others):
Accept system default, for the index. Don't initialize it.
-rw-r--r-- | ext/standard/basic_functions.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index cdd6cea50d..a78e5393df 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1523,9 +1523,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) { |