Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/make
Module Name: src
Committed By: rillig
Date: Sun Jul 26 07:15:26 UTC 2020
Modified Files:
src/usr.bin/make: Makefile
Added Files:
src/usr.bin/make: lst.c
Removed Files:
src/usr.bin/make/lst.lib: Makefile lstAppend.c lstAtEnd.c lstAtFront.c
lstClose.c lstConcat.c lstDatum.c lstDeQueue.c lstDestroy.c
lstDupl.c lstEnQueue.c lstFind.c lstFindFrom.c lstFirst.c
lstForEach.c lstForEachFrom.c lstInit.c lstInsert.c lstInt.h
lstIsAtEnd.c lstIsEmpty.c lstLast.c lstMember.c lstNext.c lstOpen.c
lstPrev.c lstRemove.c lstReplace.c lstSucc.c
Log Message:
make(1): condense the list library into a single file
The list library is only used in make(1). Having it spread out over 28
files made it look more complex than it really is. In fact, it's just a
versatile generic data type like in hash.c.
Having all the list functions in a single file reduces the code size,
both by omitting the many RCS Ids and by inlining commonly used code.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/usr.bin/make/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/lst.c
cvs rdiff -u -r1.6 -r0 src/usr.bin/make/lst.lib/Makefile
cvs rdiff -u -r1.15 -r0 src/usr.bin/make/lst.lib/lstAppend.c \
src/usr.bin/make/lst.lib/lstDeQueue.c \
src/usr.bin/make/lst.lib/lstInsert.c
cvs rdiff -u -r1.14 -r0 src/usr.bin/make/lst.lib/lstAtEnd.c \
src/usr.bin/make/lst.lib/lstAtFront.c src/usr.bin/make/lst.lib/lstDatum.c \
src/usr.bin/make/lst.lib/lstEnQueue.c \
src/usr.bin/make/lst.lib/lstForEach.c \
src/usr.bin/make/lst.lib/lstIsAtEnd.c \
src/usr.bin/make/lst.lib/lstMember.c \
src/usr.bin/make/lst.lib/lstReplace.c src/usr.bin/make/lst.lib/lstSucc.c
cvs rdiff -u -r1.12 -r0 src/usr.bin/make/lst.lib/lstClose.c \
src/usr.bin/make/lst.lib/lstIsEmpty.c
cvs rdiff -u -r1.17 -r0 src/usr.bin/make/lst.lib/lstConcat.c \
src/usr.bin/make/lst.lib/lstDupl.c src/usr.bin/make/lst.lib/lstRemove.c
cvs rdiff -u -r1.16 -r0 src/usr.bin/make/lst.lib/lstDestroy.c \
src/usr.bin/make/lst.lib/lstFind.c src/usr.bin/make/lst.lib/lstFindFrom.c
cvs rdiff -u -r1.13 -r0 src/usr.bin/make/lst.lib/lstFirst.c \
src/usr.bin/make/lst.lib/lstInit.c src/usr.bin/make/lst.lib/lstLast.c \
src/usr.bin/make/lst.lib/lstNext.c src/usr.bin/make/lst.lib/lstOpen.c
cvs rdiff -u -r1.18 -r0 src/usr.bin/make/lst.lib/lstForEachFrom.c
cvs rdiff -u -r1.22 -r0 src/usr.bin/make/lst.lib/lstInt.h
cvs rdiff -u -r1.4 -r0 src/usr.bin/make/lst.lib/lstPrev.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index