cvs commit: src/usr.sbin/mptable mptable.c

看板DFBSD_commit作者時間21年前 (2005/04/05 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
joerg 2005/04/05 02:04:49 PDT DragonFly src repository Modified files: usr.sbin/mptable mptable.c Log: Don't reset getopt after each loop, we don't use the argc / argv and all options have options. This should in fact use either getopt_long_only or a direct matching, getopt(3) is abusive. The adjustion of argc / argv is there to match common behaviour, it gets optimizes away by the compiler. Revision Changes Path 1.3 +4 -5 src/usr.sbin/mptable/mptable.c http://www.dragonflybsd.org/cvsweb/src/usr.sbin/mptable/mptable.c.diff?r1=1.2&r2=1.3&f=u
文章代碼(AID): #12KbiR00 (DFBSD_commit)