projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aabdf9
)
(decode_switches): Reset optind to 1 instead of 0.
author
Roland McGrath
<roland@redhat.com>
Wed, 8 Mar 1995 18:10:43 +0000
(18:10 +0000)
committer
Roland McGrath
<roland@redhat.com>
Wed, 8 Mar 1995 18:10:43 +0000
(18:10 +0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 29615e0cf0109f3f6d4124217860ca5d19bf6b51..7b937cc9735ce142d76be045557d0857cfddee13 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-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)
{