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

Max Okumoto okumoto at crater.dragonflybsd.org
Fri Mar 18 14:13:09 PST 2005


okumoto     2005/03/18 14:12:47 PST

DragonFly src repository

  Modified files:
    usr.bin/make         cond.c job.c main.c 
  Log:
  FreeBSD-Date: 2005/03/18 15:23:49
  FreeBSD-Date: 2005/03/18 15:25:23
  Author: harti
  
  o Replace a bogus use of Lst_Find with explicite LST_FOREACH calls
    and remove the unneeded second argument to ReadMakefile.
  
  o Replace Lst_Find calls with LST_FOREACH loops. This helps in
    constification and simplifies the code because the one-liner
    predicates can be inlined into the code.
  
  Revision  Changes    Path
  1.31      +7 -25     src/usr.bin/make/cond.c
  1.48      +8 -23     src/usr.bin/make/job.c
  1.63      +14 -8     src/usr.bin/make/main.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/cond.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/job.c.diff?r1=1.47&r2=1.48&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/main.c.diff?r1=1.62&r2=1.63&f=u





More information about the Commits mailing list