Module Name: src Committed By: rillig Date: Thu Dec 10 20:10:03 UTC 2020
Modified Files: src/usr.bin/make: job.c Log Message: make(1): fix theoretical type mismatch for Job_Touch To generate a diff of this commit: cvs rdiff -u -r1.351 -r1.352 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.351 src/usr.bin/make/job.c:1.352 --- src/usr.bin/make/job.c:1.351 Tue Dec 8 21:34:49 2020 +++ src/usr.bin/make/job.c Thu Dec 10 20:10:03 2020 @@ -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 @@ JobStart(GNode *gn, JobFlags flags) * 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... */