cvs commit: src/usr.bin/make main.c

Joerg Sonnenberger joerg at britannica.bec.de
Tue Apr 5 06:29:14 PDT 2005


On Tue, Apr 05, 2005 at 04:19:12AM -0700, walt wrote:
> 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.
> 
> This seems to fix the INSTALLS_DEPENDS error for me, thanks.  But
> what will it break?  ;o)

It restores the old behaviour, nothing breaks.

Joerg





More information about the Commits mailing list