Update.
commitbac660f87b7559d89d25d3522563525d6c5e9ebf
authorUlrich Drepper <drepper@redhat.com>
Mon, 12 Apr 1999 09:07:36 +0000 (12 09:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 12 Apr 1999 09:07:36 +0000 (12 09:07 +0000)
treeb04eb7a5d70421659c57dac8d516c66fcb02a4f8
parenta64e578b6fdb18c530d142a68a7e57eb04038b5d
Update.

1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (wordexp): Fix a leak when an invalid character
is seen, as well as fixing semantics.  Don't reset the word count
to zero when an invalid character is seen, but leave it as it was
(this makes a difference with WRDE_APPEND).

* posix/wordexp-test.c: More test cases.

* posix/wordexp.c (parse_param): In words like ${var#pattern},
always expand pattern when it is needed.  Also, handle quoting in
pattern properly.
ChangeLog
posix/wordexp-test.c
posix/wordexp.c