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

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Tue Apr 5 00:56:11 PDT 2005


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





More information about the Commits mailing list