ash: add a FIXME comment
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 Sep 2019 12:31:49 +0000 (14:31 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 Sep 2019 12:31:49 +0000 (14:31 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c

index 305fb63483855b99c369bb870579a6ba31f29b2e..c5588ea667b10c701747854b1df0379b26cee461 100644 (file)
@@ -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();
                }