Module Name:    src
Committed By:   sjg
Date:           Fri Jan  8 04:36:45 UTC 2021

Modified Files:
        src/usr.bin/make: job.c

Log Message:
Set wantToken when none available.

PR: 53285
Reviewed by: gson


To generate a diff of this commit:
cvs rdiff -u -r1.392 -r1.393 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/job.c
diff -u src/usr.bin/make/job.c:1.392 src/usr.bin/make/job.c:1.393
--- src/usr.bin/make/job.c:1.392	Sat Jan  2 20:09:06 2021
+++ src/usr.bin/make/job.c	Fri Jan  8 04:36:44 2021
@@ -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 @@ Job_TokenWithdraw(void)
 			Fatal("job pipe read: %s", strerror(errno));
 		}
 		DEBUG1(JOB, "(%d) blocked for token\n", getpid());
+		wantToken = 1;
 		return FALSE;
 	}
 

Reply via email to