mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
c06cc21c04
1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk> * posix/wordexp-test.c: Fix wrong tests. Add new tests. * posix/wordexp.c (wordexp): Perform word-splitting instead of field-splitting here. (wordexp): If out of memory mid-word, free the word (but still leave pwordexp alone for caller to see). (parse_param): Allow for zero-length fields (smarter checking of memory allocation failure). (w_addword): Convert NULL words to "". (wordexp): Convert left-over IFS characters to blanks (like bash). |
||
---|---|---|
.. | ||
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 |