aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 305fb6348..c5588ea66 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12393,7 +12393,13 @@ checkend: {
12393 for (p = eofmark; STPUTC(c, out), *p; p++) { 12393 for (p = eofmark; STPUTC(c, out), *p; p++) {
12394 if (c != *p) 12394 if (c != *p)
12395 goto more_heredoc; 12395 goto more_heredoc;
12396 12396 /* FIXME: fails for backslash-newlined terminator:
12397 * cat <<EOF
12398 * ...
12399 * EO\
12400 * F
12401 * (see heredoc_bkslash_newline2.tests)
12402 */
12397 c = pgetc_without_PEOA(); 12403 c = pgetc_without_PEOA();
12398 } 12404 }
12399 12405