diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 4e29f01a1..991737c59 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -3174,7 +3174,7 @@ static char *fetch_till_str(o_string *as_string, | |||
3174 | ch = i_getch(input); | 3174 | ch = i_getch(input); |
3175 | nommu_addchr(as_string, ch); | 3175 | nommu_addchr(as_string, ch); |
3176 | if (ch == '\n' | 3176 | if (ch == '\n' |
3177 | /* TODO: or EOF? (heredoc delimiter may end with <eof>, not only <eol> */ | 3177 | /* TODO: or EOF? (heredoc delimiter may end with <eof>, not only <eol>) */ |
3178 | && ((heredoc_flags & HEREDOC_QUOTED) || prev != '\\') | 3178 | && ((heredoc_flags & HEREDOC_QUOTED) || prev != '\\') |
3179 | ) { | 3179 | ) { |
3180 | if (strcmp(heredoc.data + past_EOL, word) == 0) { | 3180 | if (strcmp(heredoc.data + past_EOL, word) == 0) { |