diff options
author | Roland McGrath <roland@redhat.com> | 1995-03-08 18:10:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-03-08 18:10:43 +0000 |
commit | 3a0f9ce0cb388707028471839eab5393a1f700af (patch) | |
tree | 6239fb65eea6db53b62835377ed7b7bfdea46cc7 /main.c | |
parent | 3aabdf96a15a6a9f896ebf3eedf260ad38fc1f23 (diff) | |
download | gunmake-3a0f9ce0cb388707028471839eab5393a1f700af.tar.gz |
(decode_switches): Reset optind to 1 instead of 0.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1221,7 +1221,7 @@ decode_switches (argc, argv, env) but not for options from the environment. */ opterr = !env; /* Reset getopt's state. */ - optind = 0; + optind = 1; while (optind < argc) { |