Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Mark the interrupt job as special so that when ...



details:   https://anonhg.NetBSD.org/src/rev/b44576f5fb40
branches:  trunk
changeset: 580684:b44576f5fb40
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 03 22:58:14 2005 +0000

description:
Mark the interrupt job as special so that when we hit ^C with -j and we
have a .INTERRUPT target we don't print "token botch".

diffstat:

 usr.bin/make/job.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 0a93a3347cd6 -r b44576f5fb40 usr.bin/make/job.c
--- a/usr.bin/make/job.c        Tue May 03 21:08:47 2005 +0000
+++ b/usr.bin/make/job.c        Tue May 03 22:58:14 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: job.c,v 1.89 2005/02/16 15:11:52 christos Exp $        */
+/*     $NetBSD: job.c,v 1.90 2005/05/03 22:58:14 christos Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -70,14 +70,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: job.c,v 1.89 2005/02/16 15:11:52 christos Exp $";
+static char rcsid[] = "$NetBSD: job.c,v 1.90 2005/05/03 22:58:14 christos 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.89 2005/02/16 15:11:52 christos Exp $");
+__RCSID("$NetBSD: job.c,v 1.90 2005/05/03 22:58:14 christos Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -3184,7 +3184,7 @@
        if (interrupt != NILGNODE) {
            ignoreErrors = FALSE;
 
-           JobStart(interrupt, JOB_IGNDOTS, (Job *)0);
+           JobStart(interrupt, JOB_SPECIAL|JOB_IGNDOTS, (Job *)0);
            while (nJobs) {
                Job_CatchOutput();
 #ifndef RMT_WILL_WATCH



Home | Main Index | Thread Index | Old Index