diff options
| author | sjg <sjg@NetBSD.org> | 2003-03-23 05:11:22 +0000 |
|---|---|---|
| committer | sjg <sjg@NetBSD.org> | 2003-03-23 05:11:22 +0000 |
| commit | 50ca80687fb2e03357f719759b4a6fddaebb9984 (patch) | |
| tree | 6b1cff2310d5f0124ba781a9e84958d4f2783154 /usr.bin/make/parse.c | |
| parent | 5e9e4bd8119310a4ccfcaf71833f6352103b8957 (diff) | |
We are supposed to pass the node for our expanded src to ParseAddDep
for each entry in allsrc. Just like ParseDoSrc. The only difference
in handling these special expanded srcs in in the call to ParseLinkSrc.
Diffstat (limited to 'usr.bin/make/parse.c')
| -rw-r--r-- | usr.bin/make/parse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 3b02d0e4721..c951fcbf790 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.90 2003/03/22 23:41:02 sjg Exp $ */ +/* $NetBSD: parse.c,v 1.91 2003/03/23 05:11:22 sjg Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -39,14 +39,14 @@ */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: parse.c,v 1.90 2003/03/22 23:41:02 sjg Exp $"; +static char rcsid[] = "$NetBSD: parse.c,v 1.91 2003/03/23 05:11:22 sjg Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: parse.c,v 1.90 2003/03/22 23:41:02 sjg Exp $"); +__RCSID("$NetBSD: parse.c,v 1.91 2003/03/23 05:11:22 sjg Exp $"); #endif #endif /* not lint */ #endif @@ -668,7 +668,7 @@ ParseDoSpecialSrc(ClientData tp, ClientData sp) gn->order = waiting; (void)Lst_AtEnd(ss->allsrc, (ClientData)gn); if (waiting) { - ParseAddDep((ClientData)tn, (ClientData)gn); + Lst_ForEach(ss->allsrc, ParseAddDep, (ClientData)gn); } return 0; } |
