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: Sat Aug 22 13:28:20 UTC 2020
Modified Files:
src/usr.bin/make: job.c lst.c lst.h make.c meta.c parse.c suff.c targ.c
Log Message:
make(1): convert remaining Lst_AtEnd to the stricter Lst_Append
The general-purpose list library that is included in make allows to call
Lst_AtEnd for invalid lists, silently ignoring this programming error.
This is a flexibility that make doesn't need.
Another unneeded "feature" is that list items can theoretically be null
pointers. This doesn't make sense as well and is therefore not needed
by make.
These programming errors are now caught early by assertions.
To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 src/usr.bin/make/job.c
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/make/lst.c
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/make/lst.h
cvs rdiff -u -r1.112 -r1.113 src/usr.bin/make/make.c
cvs rdiff -u -r1.94 -r1.95 src/usr.bin/make/meta.c
cvs rdiff -u -r1.253 -r1.254 src/usr.bin/make/parse.c
cvs rdiff -u -r1.102 -r1.103 src/usr.bin/make/suff.c
cvs rdiff -u -r1.68 -r1.69 src/usr.bin/make/targ.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