OpenGrok
Cross Reference: metachar.c
xref
: /
src
/
usr.bin
/
make
/
metachar.c
Home
|
History
|
Annotate
|
Download
|
only in
make
History log of
/src/usr.bin/make/metachar.c
Revision
Date
Author
Comments
1.10
21-Jun-2021
rillig
make: replace macro is_shell_metachar with inline function
No functional change.
1.9
19-Jan-2021
rillig
make(1): remove do-not-format markers from comments
These markers had been used inconsistently. Furthermore the source code
had not been formatted automatically before 2020 at all, otherwise there
wouldn't have been any trailing whitespace left.
1.8
30-Oct-2020
rillig
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.
1.7
13-Sep-2020
rillig
make(1): clean up RCSID blocks
These blocks mostly consisted of redundant structure, following the same
#ifndef pattern over and over, with only minimal variation.
It's easier to maintain if the common structure is only written once and
encapsulated in a macro.
To avoid "defined but unused" warnings from GCC in the case where
MAKE_NATIVE is not defined, I had to add volatile. Adding
MAKE_ATTR_UNUSED alone would not preserve the rcsid variable in the
resulting binary.
1.6
03-Aug-2020
rillig
make(1): replace end-of-line comments with block comments
Just in case someone wants to port the current NetBSD make to an ancient
compiler that knows only C90.
1.5
19-Jun-2015
mlelstv
Adjust metachar handling to previous behaviour:
- space and tab are no shell metachars, remove them from generic
metachar function
- add space and tab as to-be-quoted characters for :Q modifier
- add = and : as characters that require command handling by the shell
1.4
18-Jun-2015
christos
grr too many different compilation options.
1.3
18-Jun-2015
christos
this is not buf.c
1.2
18-Jun-2015
justin
Fix non native build on metachar.c
1.1
17-Jun-2015
christos
centralize shell metachar handling.
Indexes created Sun Oct 19 02:09:48 GMT 2025