Module Name: src
Committed By: rillig
Date: Fri Oct 30 19:14:20 UTC 2020
Modified Files:
src/usr.bin/make: metachar.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/metachar.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/metachar.c
diff -u src/usr.bin/make/metachar.c:1.7 src/usr.bin/make/metachar.c:1.8
--- src/usr.bin/make/metachar.c:1.7 Sun Sep 13 15:15:51 2020
+++ src/usr.bin/make/metachar.c Fri Oct 30 19:14:20 2020
@@ -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] = {