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): remove comment about adding is_shell_m...



details:   https://anonhg.NetBSD.org/src/rev/1a659cba82b9
branches:  trunk
changeset: 977662:1a659cba82b9
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Oct 30 19:14:20 2020 +0000

description:
make(1): remove comment about adding is_shell_metachar to ctype.h

This function is so specialized that it would be wrong to have it in a
general-purpose C header.

diffstat:

 usr.bin/make/metachar.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 6b0ec51cef53 -r 1a659cba82b9 usr.bin/make/metachar.c
--- a/usr.bin/make/metachar.c   Fri Oct 30 18:54:35 2020 +0000
+++ b/usr.bin/make/metachar.c   Fri Oct 30 19:14:20 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: metachar.c,v 1.7 2020/09/13 15:15:51 rillig Exp $      */
+/*     $NetBSD: metachar.c,v 1.8 2020/10/30 19:14:20 rillig Exp $      */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -39,15 +39,13 @@
 
 #include "metachar.h"
 
-MAKE_RCSID("$NetBSD: metachar.c,v 1.7 2020/09/13 15:15:51 rillig Exp $");
+MAKE_RCSID("$NetBSD: metachar.c,v 1.8 2020/10/30 19:14:20 rillig Exp $");
 
 /*
  * The following array is used to make a fast determination of which
  * characters are interpreted specially by the shell.  If a command
  * contains any of these characters, it is executed by the shell, not
  * directly by us.
- *
- * perhaps move it to ctype?
  */
 
 unsigned char _metachar[128] = {



Home | Main Index | Thread Index | Old Index