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

cvs commit: src/usr.bin/make src/usr.bin/make/lst.lib

From: Max Okumoto <okumoto@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Dec 2004 00:01:40 -0800 (PST)

okumoto     2004/12/17 00:01:40 PST

DragonFly src repository

  Modified files:
    usr.bin/make         lst.h suff.c 
    usr.bin/make/lst.lib lstConcat.c lstDeQueue.c lstDestroy.c 
  o Don't free the second list in Lst_Concat for LST_CONCLINK; free
    it in the caller instead.
  o Remove return value from Lst_Concat. None of the callers ever
    checked it. Remove stuff that was needed for circular lists.
  o Don't check the return code from Lst_Remove. There is no way that
    the list's first element is not on the list.
  o No caller checks the return code from Lst_Remove, so don't return
    one.  Simplify the algorithm now that circular lists are gone.
  o Now that circular lists are gone remove stuff for them. Simplify
    somewhat so that we can remove a local variable.
  Taken-from: FreeBSD
  Author: harti
  Revision  Changes    Path
  1.16      +2 -2      src/usr.bin/make/lst.h
  1.21      +3 -0      src/usr.bin/make/suff.c
  1.9       +19 -38    src/usr.bin/make/lst.lib/lstConcat.c
  1.8       +2 -5      src/usr.bin/make/lst.lib/lstDeQueue.c
  1.11      +6 -10     src/usr.bin/make/lst.lib/lstDestroy.c
  1.10      +11 -29    src/usr.bin/make/lst.lib/lstRemove.c


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