DragonFly commits List (threaded) for 2005-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/usr.bin/make main.c
okumoto 2005/04/07 00:52:33 PDT
DragonFly src repository
Modified files:
usr.bin/make main.c
Log:
Make should set optreset to one before it calls getopt() with a new
set of args.
o Removed unnessisary forward declaration for MainParseArgs()
o Use optreset global variable to inform getopt() that we are
parsing another arg list.
o Cleanup handling of remaining arguments after getopt()
completes parsing arguments. There is no reason to restart
getopt() for single dash case, just ignore it. And update
comment to reflect code.
o Removed missleading comments.
Revision Changes Path
1.69 +36 -19 src/usr.bin/make/main.c
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/main.c.diff?r1=1.68&r2=1.69&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]