Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): fix theoretical type mismatch for Job_...



details:   https://anonhg.NetBSD.org/src/rev/3192ee17ebc1
branches:  trunk
changeset: 947078:3192ee17ebc1
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Dec 10 20:10:03 2020 +0000

description:
make(1): fix theoretical type mismatch for Job_Touch

diffstat:

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

diffs (27 lines):

diff -r cb0db0706c58 -r 3192ee17ebc1 usr.bin/make/job.c
--- a/usr.bin/make/job.c        Thu Dec 10 17:55:30 2020 +0000
+++ b/usr.bin/make/job.c        Thu Dec 10 20:10:03 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: job.c,v 1.351 2020/12/08 21:34:49 rillig Exp $ */
+/*     $NetBSD: job.c,v 1.352 2020/12/10 20:10:03 rillig 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.351 2020/12/08 21:34:49 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.352 2020/12/10 20:10:03 rillig Exp $");
 
 /*
  * A shell defines how the commands are run.  All commands for a target are
@@ -1634,7 +1634,7 @@
                 * good -- it does no harm to keep working up the graph.
                 */
                job->cmdFILE = stdout;
-               Job_Touch(gn, job->flags & JOB_SILENT);
+               Job_Touch(gn, (job->flags & JOB_SILENT) != 0);
                noExec = TRUE;
        }
        /* Just in case it isn't already... */



Home | Main Index | Thread Index | Old Index