cvs commit: src/usr.bin/make main.c
Max Okumoto
okumoto at ucsd.edu
Tue Apr 5 09:11:20 PDT 2005
Joerg Sonnenberger wrote:
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
Thanks patching this Joerg. I will look into using optreset.
Max
PS. I hate daylight savings time. (In Calif, clocks are moved
forward 1 hour during the summer. So we all have to wake up
1 hour earlier).
More information about the Commits
mailing list