diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-09-12 08:42:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-09-12 08:42:05 +0000 |
commit | c06cc21c043b02d0d7c078730695be370c66571c (patch) | |
tree | 1f290126701a3134dba291910ec5a26deff48952 /login/login.c | |
parent | 514d9bca72ee648d89ccce020124d11ac0a09ccb (diff) | |
download | glibc-c06cc21c043b02d0d7c078730695be370c66571c.tar glibc-c06cc21c043b02d0d7c078730695be370c66571c.tar.gz glibc-c06cc21c043b02d0d7c078730695be370c66571c.tar.bz2 glibc-c06cc21c043b02d0d7c078730695be370c66571c.zip |
Update.
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).
Diffstat (limited to 'login/login.c')
0 files changed, 0 insertions, 0 deletions