Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Set wantToken when none available.



details:   https://anonhg.NetBSD.org/src/rev/663f612e3316
branches:  trunk
changeset: 958500:663f612e3316
user:      sjg <sjg%NetBSD.org@localhost>
date:      Fri Jan 08 04:36:44 2021 +0000

description:
Set wantToken when none available.

PR: 53285
Reviewed by: gson

diffstat:

 usr.bin/make/job.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r cc514e903ba8 -r 663f612e3316 usr.bin/make/job.c
--- a/usr.bin/make/job.c        Fri Jan 08 02:11:45 2021 +0000
+++ b/usr.bin/make/job.c        Fri Jan 08 04:36:44 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: job.c,v 1.392 2021/01/02 20:09:06 rillig Exp $ */
+/*     $NetBSD: job.c,v 1.393 2021/01/08 04:36:44 sjg Exp $    */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -143,7 +143,7 @@
 #include "trace.h"
 
 /*     "@(#)job.c      8.2 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: job.c,v 1.392 2021/01/02 20:09:06 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.393 2021/01/08 04:36:44 sjg Exp $");
 
 /*
  * A shell defines how the commands are run.  All commands for a target are
@@ -2850,6 +2850,7 @@
                        Fatal("job pipe read: %s", strerror(errno));
                }
                DEBUG1(JOB, "(%d) blocked for token\n", getpid());
+               wantToken = 1;
                return FALSE;
        }
 



Home | Main Index | Thread Index | Old Index