From 24af7201e98a9692e1dfa9976c1a6ba97013ca23 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 15 Mar 2007 13:28:46 +0000 Subject: fix TODO: getopt32 should reset optind to 1 itself --- archival/gzip.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'archival/gzip.c') diff --git a/archival/gzip.c b/archival/gzip.c index 68f1cc87d..6af6c1886 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -2041,8 +2041,6 @@ int gzip_main(int argc, char **argv) //if (opt & 0x4) // -v #if ENABLE_GUNZIP /* gunzip_main may not be visible... */ if (opt & 0x8) { // -d - /* FIXME: getopt32 should not depend on optind */ - optind = 1; return gunzip_main(argc, argv); } #endif -- cgit v1.2.3