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): rename ApplyModifier_Exclam
details: https://anonhg.NetBSD.org/src/rev/760ae014137b
branches: trunk
changeset: 1014163:760ae014137b
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Sep 13 08:17:14 2020 +0000
description:
make(1): rename ApplyModifier_Exclam
The names of all other ApplyModifier functions already describe the
effect instead of the spelling.
diffstat:
usr.bin/make/var.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r ffd363ab351a -r 760ae014137b usr.bin/make/var.c
--- a/usr.bin/make/var.c Sun Sep 13 08:11:40 2020 +0000
+++ b/usr.bin/make/var.c Sun Sep 13 08:17:14 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.508 2020/09/13 08:11:40 rillig Exp $ */
+/* $NetBSD: var.c,v 1.509 2020/09/13 08:17:14 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.508 2020/09/13 08:11:40 rillig Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.509 2020/09/13 08:17:14 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: var.c,v 1.508 2020/09/13 08:11:40 rillig Exp $");
+__RCSID("$NetBSD: var.c,v 1.509 2020/09/13 08:17:14 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -2139,7 +2139,7 @@
/* :!cmd! */
static ApplyModifierResult
-ApplyModifier_Exclam(const char **pp, ApplyModifiersState *st)
+ApplyModifier_ShellCommand(const char **pp, ApplyModifiersState *st)
{
char delim;
char *cmd;
@@ -3106,7 +3106,7 @@
res = ApplyModifier_Path(&p, &st);
break;
case '!':
- res = ApplyModifier_Exclam(&p, &st);
+ res = ApplyModifier_ShellCommand(&p, &st);
break;
case '[':
res = ApplyModifier_Words(&p, &st);
Home |
Main Index |
Thread Index |
Old Index