Module Name: src
Committed By: rillig
Date: Fri Oct 23 16:00:23 UTC 2020
Modified Files:
src/usr.bin/make: job.c
Log Message:
make(1): add field names in declaration of DEFSHELL_CUSTOM
To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 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.273 src/usr.bin/make/job.c:1.274
--- src/usr.bin/make/job.c:1.273 Fri Oct 23 15:54:17 2020
+++ src/usr.bin/make/job.c Fri Oct 23 16:00:23 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: job.c,v 1.273 2020/10/23 15:54:17 rillig Exp $ */
+/* $NetBSD: job.c,v 1.274 2020/10/23 16:00:23 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.273 2020/10/23 15:54:17 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.274 2020/10/23 16:00:23 rillig Exp $");
# define STATIC static
@@ -277,11 +277,20 @@ static Shell shells[] = {
* sh-compatible shells.
*/
{
- DEFSHELL_CUSTOM,
- FALSE, "", "", "", 0,
- FALSE, "echo \"%s\"\n", "%s\n", "{ %s \n} || exit $?\n", "'\n'", '#',
- "",
- "",
+ DEFSHELL_CUSTOM, /* .name */
+ FALSE, /* .hasEchoCtl */
+ "", /* .echoOff */
+ "", /* .echoOn */
+ "", /* .noPrint */
+ 0, /* .noPrintLen */
+ FALSE, /* .hasErrCtl */
+ "echo \"%s\"\n", /* .errCheck */
+ "%s\n", /* .ignErr */
+ "{ %s \n} || exit $?\n", /* .errOut */
+ "'\n'", /* .newline */
+ '#', /* .commentChar */
+ "", /* .echo */
+ "", /* .exit */
},
#endif /* DEFSHELL_CUSTOM */
/*