cvs commit: src/usr.bin/make main.c
Joerg Sonnenberger
joerg at britannica.bec.de
Tue Apr 5 01:21:02 PDT 2005
On Tue, Apr 05, 2005 at 12:55:02AM -0700, Joerg Sonnenberger wrote:
> joerg 2005/04/05 00:55:02 PDT
>
> DragonFly src repository
>
> Modified files:
> usr.bin/make main.c
> Log:
> Since optind=0 has a special meaning for GNU getopt compatibility,
> always use optind=1 and increment argc / decrement argv beforehand.
>
> Revision Changes Path
> 1.66 +6 -5 src/usr.bin/make/main.c
>
>
> http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/main.c.diff?r1=1.65&r2=1.66&f=u
I think make should also set optreset, but I leave that for Max to figure
out :)
Joerg
More information about the Commits
mailing list