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

Max Okumoto okumoto at crater.dragonflybsd.org
Mon May 16 10:37:27 PDT 2005


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





More information about the Commits mailing list