cvs commit: src/usr.bin/make main.c

看板DFBSD_commit作者時間21年前 (2005/04/07 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串15/19 (看更多)
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
文章代碼(AID): #12LEZ900 (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #12LEZ900 (DFBSD_commit)