(w_newword): New function.
authordrepper <drepper>
Tue, 24 Mar 1998 20:50:04 +0000 (20:50 +0000)
committerdrepper <drepper>
Tue, 24 Mar 1998 20:50:04 +0000 (20:50 +0000)
commit8ad9e8f0193d73f601f2226ace23abd0a8bd6ecf
treedc368a933c901835ca69f7f910312e14f7cddc26
parent7f467de5bcee605a9903895e4793f1fa719c71b6
(w_newword): New function.
(do_parse_glob): New function.
(parse_glob): Use do_parse_glob.  Now handles the case where a
variable expansion causes a field-split.
(wordexp): Use w_newword.
(parse_arith): Likewise.
(exec_comm): Likewise.
(parse_comm): Likewise.
(parse_param): Likewise.
(parse_backtick): Likewise.
(parse_glob): Use w_addstr instead of realloc
directly (the code using realloc was buggy).
(parse_param): Fix typo in comment.
posix/wordexp.c