summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-03-24 05:56:41 +0000
committerRoland McGrath <roland@redhat.com>1995-03-24 05:56:41 +0000
commit1331cca1fa131d066afd0de5f2972061a520f3f0 (patch)
tree6720d6dc0554df007150824c0aabae051bbbbae1 /dir.c
parentfe05aaf7f250ca7d794fb1c064921e1aa03e9ec1 (diff)
downloadgunmake-1331cca1fa131d066afd0de5f2972061a520f3f0.tar.gz
(handle_non_switch_argument): New function, broken out of decode_switches.
(decode_switches): Set optind to 0 to reinitialize getopt, not to 1. When getopt_long returns EOF, break the loop and handle remaining args with a simple second loop.
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions