← Commit list

03ad7ae08

Christoph Schulz
Christoph Schulz
2018-11-20
SUCCESS Duration: 284s

Subject

ash: reset tokpushback before prompting while parsing heredoc

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+1 -0
@@ -12961,6 +12961,7 @@ parseheredoc(void)
heredoclist = NULL;
while (here) {
+ tokpushback = 0;
setprompt_if(needprompt, 2);
readtoken1(pgetc(), here->here->type == NHERE ? SQSYNTAX : DQSYNTAX,
here->eofmark, here->striptabs);