看板 DFBSD_commit 關於我們 聯絡資訊
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