cvs commit: src/usr.bin/make src/usr.bin/make/lst.lib
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Nov 17 18:02:18 PST 2004
dillon 2004/11/17 18:01:44 PST
DragonFly src repository
Modified files:
usr.bin/make Makefile arch.c buf.c job.c main.c make.1
util.c
usr.bin/make/lst.lib lstInt.h
Log:
Bring in various fixes from FreeBSD:
* MAXPATHLEN includes the trailing NUL, Correct array sizes to reflect this.
* Correct NUL termination after strncpy.
* Make ${.OBJDIR} canonical.
* -Wall cleanup.
* unifdef -D__STDC__
* Sort #includes, remove <sys/types.h> (made redundant by <sys/param.h>),
add <signal.h> (needed for sigaction())
* Unbreak compilation on RELENG_4.
* unifdef -UWANT_ENV_PWD. No one ever going to use this bugfeature.
* Reorder #include. Cast arg #2 of lseek to an off_t when constant. No need to
test if failsafe memory allocation fails, it can't. perror -> warn. Use
failsafe memory allocation provided.
* And some other doc cleanup.
* Reduce diffs between FreeBSD and DragonFly Makefile
* Added the MAKE_VERSION global that could be useful in determining
if a given make(1) is feature-compatible with a set of makefiles.
When merged, this will be used to replace the ugly upgrade_checks
hacks in src/Makefile.
Version has the RYYYYMMDDX format, where R is from RELENG_<R> and
X allows for 10 distinguishable changes per day.
* make(I) appeared in PWB UNIX.
* Add MAKE_VERSION variables
* Don't do stupid things to avoid unused parameters, mark them __unused.
* Use %p to print a pointer, not %lx and a cast to (unsigned long). Yuck.
* Avoid classy use of a variable one time with a constant value.
* Bit-width fields should be of type 'int'.
Submitted-by: Max Okumoto <okumoto at home>
Revision Changes Path
1.5 +5 -1 src/usr.bin/make/Makefile
1.13 +2 -2 src/usr.bin/make/arch.c
1.6 +1 -2 src/usr.bin/make/buf.c
1.16 +5 -7 src/usr.bin/make/job.c
1.16 +12 -37 src/usr.bin/make/main.c
1.6 +22 -39 src/usr.bin/make/make.1
1.6 +3 -3 src/usr.bin/make/util.c
1.4 +1 -1 src/usr.bin/make/lst.lib/lstInt.h
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/Makefile.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/arch.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/buf.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/job.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/main.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/make.1.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/util.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/lst.lib/lstInt.h.diff?r1=1.3&r2=1.4&f=u
More information about the Commits
mailing list