summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/targ.c
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2007-04-20 06:33:25 +0000
committerfjoe <fjoe@FreeBSD.org>2007-04-20 06:33:25 +0000
commit711037246e3ddfae7d52ff44a0f5d8d1c50e20eb (patch)
treecd30975b6b93db0a08c46c33c856835f3ec55609 /usr.bin/make/targ.c
parent5abc85136d3414fb5078dd4b13d33911966818f4 (diff)
downloadFreeBSD-src-711037246e3ddfae7d52ff44a0f5d8d1c50e20eb.zip
FreeBSD-src-711037246e3ddfae7d52ff44a0f5d8d1c50e20eb.tar.gz
Improve logging when -dm is specified: if the node is considered
out-of-date print not only "modified before source" message but also the path of youngest source.
Diffstat (limited to 'usr.bin/make/targ.c')
-rw-r--r--usr.bin/make/targ.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index fab3189..eac121e 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -141,6 +141,7 @@ Targ_NewGN(const char *name)
gn->childMade = FALSE;
gn->order = 0;
gn->mtime = gn->cmtime = 0;
+ gn->cmtime_gn = NULL;
Lst_Init(&gn->iParents);
Lst_Init(&gn->cohorts);
Lst_Init(&gn->parents);
OpenPOWER on IntegriCloud