7 Bug-Reported-by: Matthias Klose <doko@debian.org>
8 Bug-Reference-ID: <4D6FD2AC.1010500@debian.org>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00015.html
13 When used in contexts where word splitting and quote removal were not
14 performed, such as case statement word expansion, empty strings
15 (either literal or resulting from quoted variables that were unset or
16 null) were not expanded correctly, resulting in failure.
18 Patch (apply with `patch -p0'):
22 @@ -4609,6 +4609,7 @@ expand_word_unsplit (word, quoted)
25 word->flags |= W_NOSPLIT;
26 + word->flags |= W_NOSPLIT2;
27 result = call_expand_word_internal (word, quoted, 0, (int *)NULL, (int *)NULL);
28 expand_no_split_dollar_star = 0;
33 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
34 looks for to find the patch level (for the sccs version string). */
39 #endif /* _PATCHLEVEL_H_ */