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 ParseRunOptions to ParseCommand...



details:   https://anonhg.NetBSD.org/src/rev/bbbaae14794b
branches:  trunk
changeset: 957830:bbbaae14794b
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Dec 12 12:56:56 2020 +0000

description:
make(1): rename ParseRunOptions to ParseCommandFlags

diffstat:

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

diffs (36 lines):

diff -r 7c345036b276 -r bbbaae14794b usr.bin/make/job.c
--- a/usr.bin/make/job.c        Sat Dec 12 12:54:58 2020 +0000
+++ b/usr.bin/make/job.c        Sat Dec 12 12:56:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: job.c,v 1.382 2020/12/12 12:54:58 rillig Exp $ */
+/*     $NetBSD: job.c,v 1.383 2020/12/12 12:56:56 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.382 2020/12/12 12:54:58 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.383 2020/12/12 12:56:56 rillig Exp $");
 
 /*
  * A shell defines how the commands are run.  All commands for a target are
@@ -710,7 +710,7 @@
 
 /* Parse leading '@', '-' and '+', which control the exact execution mode. */
 static void
-ParseRunOptions(char **pp, CommandFlags *out_cmdFlags)
+ParseCommandFlags(char **pp, CommandFlags *out_cmdFlags)
 {
        char *p = *pp;
        out_cmdFlags->echo = TRUE;
@@ -900,7 +900,7 @@
 
        cmdTemplate = "%s\n";
 
-       ParseRunOptions(&xcmd, &cmdFlags);
+       ParseCommandFlags(&xcmd, &cmdFlags);
 
        /* The '+' command flag overrides the -n or -N options. */
        if (cmdFlags.always && !run) {



Home | Main Index | Thread Index | Old Index