cvs commit: src/usr.bin/make
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Nov 12 14:44:08 PST 2004
dillon 2004/11/12 14:42:37 PST
DragonFly src repository
Modified files:
usr.bin/make arch.c buf.c buf.h compat.c cond.c
config.h dir.c for.c hash.c hash.h job.c
job.h list.h lst.h main.c make.c make.h
nonints.h parse.c sprite.h suff.c targ.c
var.c
Log:
Make the DEBUGF() macro portable by (ugh) adding a Debug() function, which
is merely printf() but to stderr. This takes care of the caveat which lead
to the use of a vararg macro -- getting everything to stderr.
Move common use of if (DEBUG(FOO)) printf... to DEBUGF(FOO, ...), using
variable length arguments to a macro. Bump version as this makes DEBUG
statements *always* go to stderr rather than sometimes stdout. There are
a few stragglers, which I will take care of as soon as I can. Mostly these
relate to the need-for-death-of some of the remote job code.
Taken-From: FreeBSD/jmallett
Revision Changes Path
1.10 +19 -24 src/usr.bin/make/arch.c
1.4 +5 -5 src/usr.bin/make/buf.c
1.5 +2 -2 src/usr.bin/make/buf.h
1.8 +5 -11 src/usr.bin/make/compat.c
1.8 +4 -8 src/usr.bin/make/cond.c
1.4 +8 -8 src/usr.bin/make/config.h
1.8 +28 -78 src/usr.bin/make/dir.c
1.6 +5 -9 src/usr.bin/make/for.c
1.6 +1 -1 src/usr.bin/make/hash.c
1.6 +2 -2 src/usr.bin/make/hash.h
1.11 +53 -169 src/usr.bin/make/job.c
1.7 +19 -19 src/usr.bin/make/job.h
1.5 +13 -13 src/usr.bin/make/list.h
1.7 +5 -5 src/usr.bin/make/lst.h
1.12 +22 -0 src/usr.bin/make/main.c
1.7 +25 -49 src/usr.bin/make/make.c
1.7 +60 -54 src/usr.bin/make/make.h
1.9 +1 -0 src/usr.bin/make/nonints.h
1.10 +2 -3 src/usr.bin/make/parse.c
1.4 +5 -5 src/usr.bin/make/sprite.h
1.9 +36 -80 src/usr.bin/make/suff.c
1.8 +4 -4 src/usr.bin/make/targ.c
1.8 +9 -21 src/usr.bin/make/var.c
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/arch.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/buf.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/buf.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/compat.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/cond.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/config.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/dir.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/for.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/hash.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/hash.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/job.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/job.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/list.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/lst.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/main.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/make.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/make.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/nonints.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/parse.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/sprite.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/suff.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/targ.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/var.c.diff?r1=1.7&r2=1.8&f=u
More information about the Commits
mailing list