Re: /usr/bin/dirname calls getopt but doesn't need it [patch]

看板DFBSD_submit作者時間21年前 (2004/08/16 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
On Thu, Jul 22, 2004 at 07:44:50PM +0200, Douwe Kiela wrote: > Hello, > > /usr/bin/dirname uses getopt(), but doesn't do anything with it, thus it can > be removed. > A patch is to be found here: > > http://virtus.ath.cx/dfbsd/dirname.c.diff The patch doesn't work. The getopt is useful because (a) it adjusts argc and (b) gives the expected result if options are specified. Joerg > > Regards, > Douwe > >
文章代碼(AID): #117wJz00 (DFBSD_submit)
文章代碼(AID): #117wJz00 (DFBSD_submit)