Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make JobStart(): if there no commands to execute for...
details: https://anonhg.NetBSD.org/src/rev/43ea1e419076
branches: trunk
changeset: 521928:43ea1e419076
user: pk <pk%NetBSD.org@localhost>
date: Fri Feb 08 17:31:38 2002 +0000
description:
JobStart(): if there no commands to execute for a node, set its status
to MADE before calling Make_Update(). This is necessary to complete
all rules associated with sources on an .ORDER dependency.
diffstat:
usr.bin/make/job.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 609c4dcf0a42 -r 43ea1e419076 usr.bin/make/job.c
--- a/usr.bin/make/job.c Fri Feb 08 16:11:18 2002 +0000
+++ b/usr.bin/make/job.c Fri Feb 08 17:31:38 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: job.c,v 1.56 2002/02/06 16:20:25 pk Exp $ */
+/* $NetBSD: job.c,v 1.57 2002/02/08 17:31:38 pk Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -39,14 +39,14 @@
*/
#ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: job.c,v 1.56 2002/02/06 16:20:25 pk Exp $";
+static char rcsid[] = "$NetBSD: job.c,v 1.57 2002/02/08 17:31:38 pk Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: job.c,v 1.56 2002/02/06 16:20:25 pk Exp $");
+__RCSID("$NetBSD: job.c,v 1.57 2002/02/08 17:31:38 pk Exp $");
#endif
#endif /* not lint */
#endif
@@ -1954,6 +1954,7 @@
}
if (!(job->flags & JOB_SPECIAL))
Job_TokenReturn();
+ job->node->made = MADE;
Make_Update(job->node);
}
free((Address)job);
Home |
Main Index |
Thread Index |
Old Index