commit bash-20100715 snapshot

This commit is contained in:
Chet Ramey
2011-12-12 22:02:52 -05:00
parent ee56a86545
commit e054386f3f
12 changed files with 76 additions and 2 deletions
+1 -1
View File
@@ -3555,7 +3555,7 @@ eof_error:
}
/* Skip whitespace */
if MBTEST(shellblank (ch) && lex_rwlen == 0)
if MBTEST(shellblank (ch) && (tflags & LEX_HEREDELIM) == 0 && lex_rwlen == 0)
{
/* Add this character. */
RESIZE_MALLOCED_BUFFER (ret, retind, 1, retsize, 64);