DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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

From: Max Okumoto <okumoto@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Apr 2005 00:52:33 -0700 (PDT)

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

DragonFly src repository

  Modified files:
    usr.bin/make         main.c 
  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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]