Re: /usr/bin/dirname calls getopt but doesn't need it [patch]
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
>
>
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):