mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
21d15001f9
uses the brk_string function to parse the line. That function uses static storage for both the expanded string and the returned argv[] vector. The JobParseShell function simply stored away pointers into this static storage. On the next use of something like ${FOO:O} this storage would get overwritten with fatal results. This also allows us to make the shells[] array const bringing us one step further in making make WARNS=4 ready. |
||
---|---|---|
.. | ||
lst.lib | ||
PSD.doc | ||
arch.c | ||
buf.c | ||
buf.h | ||
compat.c | ||
cond.c | ||
config.h | ||
dir.c | ||
dir.h | ||
for.c | ||
hash.c | ||
hash.h | ||
job.c | ||
job.h | ||
list.h | ||
lst.h | ||
main.c | ||
make.1 | ||
make.c | ||
make.h | ||
Makefile | ||
Makefile.dist | ||
nonints.h | ||
parse.c | ||
pathnames.h | ||
sprite.h | ||
str.c | ||
suff.c | ||
targ.c | ||
util.c | ||
var_modify.c | ||
var.c | ||
var.h |