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

Max Okumoto okumoto at crater.dragonflybsd.org
Thu Apr 7 00:52:38 PDT 2005


okumoto     2005/04/07 00:52:33 PDT

DragonFly src repository

  Modified files:
    usr.bin/make         main.c 
  Log:
  Make should set optreset to one before it calls getopt() with a new
  set of args.
  
      o Removed unnessisary forward declaration for MainParseArgs()
  
      o Use optreset global variable to inform getopt() that we are
        parsing another arg list.
  
      o Cleanup handling of remaining arguments after getopt()
        completes parsing arguments.  There is no reason to restart
        getopt() for single dash case, just ignore it.  And update
        comment to reflect code.
  
      o Removed missleading comments.
  
  Revision  Changes    Path
  1.69      +36 -19    src/usr.bin/make/main.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/main.c.diff?r1=1.68&r2=1.69&f=u





More information about the Commits mailing list