DragonFly BSD
DragonFly commits List (threaded) for 2005-05
[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: Mon, 16 May 2005 10:36:08 -0700 (PDT)

okumoto     2005/05/16 10:36:08 PDT

DragonFly src repository

  Modified files:
    usr.bin/make         main.c 
  Log:
         o Move code to determine objdir into determine_objdir().
         o Move curdir, and objdir out of global scope.
         o Clean up ReadMakefile()
                 + put enough code into the #ifdef #endif section to
                   be a complete statement.
                 + renamed var 'p' to file and elimiate as many uses of
                   strdup() copy as possible.  The strup() is a hack.
                 + Eliminate goto by inlining the destination code.  Trust
                   the compiler to do its job.
                 + inline setMAKEFILE.
                 + Moved common code out of #ifdef sections.
  
  Revision  Changes    Path
  1.96      +157 -142  src/usr.bin/make/main.c


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



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