a8125d8552
1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk> * posix/wordexp-test.c: If expansion or substitution occurs anywhere in a word, the entire word is subject to field-splitting. * posix/wordexp.c (parse_glob): Look for end of word instead of end of field when deciding what to glob. (field_split_word): New function, now the only place where field-splitting is performed. (parse_dollars): New parameter - tell the caller if field-splitting should be performed on this word. * posix/wordexp-test.c (testit): Only call wordfree if wordexp succeeded (or failed with WRDE_NOSPACE). 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk> * posix/wordexp.c (wordexp): Don't convert IFS characters to blanks. * posix/wordexp-test.c: Words not the result of expansion or substitution should remain unchanged. |
||
---|---|---|
.. | ||
bits | ||
glob | ||
sys | ||
.cvsignore | ||
annexc.c | ||
bsd-getpgrp.c | ||
confstr.c | ||
cpio.h | ||
environ.c | ||
execl.c | ||
execle.c | ||
execlp.c | ||
execv.c | ||
execvp.c | ||
fnmatch.c | ||
fnmatch.h | ||
getconf.c | ||
getopt1.c | ||
getopt_init.c | ||
getopt.c | ||
getopt.h | ||
glob.h | ||
globtest.c | ||
globtest.sh | ||
id.c | ||
Makefile | ||
ptestcases.h | ||
PTESTS | ||
PTESTS2C.sed | ||
re_comp.h | ||
regex.c | ||
regex.h | ||
runptests.c | ||
runtests.c | ||
sched.h | ||
setpgrp.c | ||
tar.h | ||
testcases.h | ||
testfnm.c | ||
TESTS | ||
TESTS2C.sed | ||
tstgetopt.args | ||
tstgetopt.c | ||
unistd.h | ||
Versions | ||
wait.h | ||
wordexp-test.c | ||
wordexp-tst.sh | ||
wordexp.c | ||
wordexp.h |