diff options
| author | mycroft <mycroft@NetBSD.org> | 1999-09-16 00:54:14 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1999-09-16 00:54:14 +0000 |
| commit | 2500a4b975c5a848a89f6aaeca6dca9927c51467 (patch) | |
| tree | ebd6860229da17b1c3c39cd2f02aa97e15bc9bc7 /usr.bin/make/make.c | |
| parent | ce14db1fcdf652d677429fb2582241452c75705f (diff) | |
Some minor cleanup of :: tests.
Diffstat (limited to 'usr.bin/make/make.c')
| -rw-r--r-- | usr.bin/make/make.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c index 455ac3601a5..ae2807d9b5a 100644 --- a/usr.bin/make/make.c +++ b/usr.bin/make/make.c @@ -1,4 +1,4 @@ -/* $NetBSD: make.c,v 1.23 1999/09/15 10:47:38 mycroft Exp $ */ +/* $NetBSD: make.c,v 1.24 1999/09/16 00:54:14 mycroft Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -39,14 +39,14 @@ */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: make.c,v 1.23 1999/09/15 10:47:38 mycroft Exp $"; +static char rcsid[] = "$NetBSD: make.c,v 1.24 1999/09/16 00:54:14 mycroft Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)make.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: make.c,v 1.23 1999/09/15 10:47:38 mycroft Exp $"); +__RCSID("$NetBSD: make.c,v 1.24 1999/09/16 00:54:14 mycroft Exp $"); #endif #endif /* not lint */ #endif @@ -934,7 +934,7 @@ Make_ExpandUse (targs) while (!Lst_IsEmpty (examine)) { gn = (GNode *) Lst_DeQueue (examine); - if ((gn->type & OP_OPMASK) == OP_DOUBLEDEP) { + if ((gn->type & OP_DOUBLEDEP) && !Lst_IsEmpty (gn->cohorts)) { Lst new; new = Lst_Duplicate (gn->cohorts, NOCOPY); Lst_Concat (new, examine, LST_CONCLINK); |
