summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko2019-09-05 14:31:49 +0200
committerDenys Vlasenko2019-09-05 14:31:49 +0200
commit35e349de3c93ab75abd8a990aaa1e01658273650 (patch)
treef40c07e77bceb3cb67fae2e0a8ca4e5b51bc7671 /shell/ash.c
parent18a90ec846f4c19b3309022d308065237145e7ce (diff)
downloadbusybox-35e349de3c93ab75abd8a990aaa1e01658273650.zip
busybox-35e349de3c93ab75abd8a990aaa1e01658273650.tar.gz
ash: add a FIXME comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 305fb63..c5588ea 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12393,7 +12393,13 @@ checkend: {
for (p = eofmark; STPUTC(c, out), *p; p++) {
if (c != *p)
goto more_heredoc;
-
+ /* FIXME: fails for backslash-newlined terminator:
+ * cat <<EOF
+ * ...
+ * EO\
+ * F
+ * (see heredoc_bkslash_newline2.tests)
+ */
c = pgetc_without_PEOA();
}