Displaying 1 result from an estimated 1 matches for "ee5cbe9fd6bc".
2020 Mar 28
0
[klibc:update-dash] dash: parser: Do not push token back before parseheredoc
...ithout resetting the tokpushback
flag.
This patch fixes it by doing the tokpushback after parseheredoc
and setting lasttoken again if parseheredoc was called.
Reported-by: Ron Yorston <rmy at frippery.org>
Fixes: 7c245aa8ed33 ("[PARSER] Simplify EOF/newline handling in...")
Fixes: ee5cbe9fd6bc ("[SHELL] Optimize dash -c "command" to avoid a fork")
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Tested-by: Simon Ser <contact at emersion.fr>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/parser.c | 5 ++++-
1 file chang...