summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-05-26 23:19:05 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2020-06-01 23:12:53 +1000
commite8e29001ad1cdeb68a5c617db149830e676c32c8 (patch)
tree09db2f86070e05506404abbf5a55ec7a0a1c6b8f /debian
parentshell: Fix typos (diff)
downloaddash-e8e29001ad1cdeb68a5c617db149830e676c32c8.tar.gz
dash-e8e29001ad1cdeb68a5c617db149830e676c32c8.zip
parser: Fix double-backslash nl in old-style command sub
When handling backslashes within an old-style command substitution,
we should not call pgetc_eatbnl because that would treat the next
backslash character as another escape character if it was then
followed by a new-line.

This patch fixes it by calling pgetc.

Reported-by: Matt Whitlock <dash@mattwhitlock.name>
Fixes: 6bbc71d84bea ("parser: use pgetc_eatbnl() in more places")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions
tle='2019-02-22 23:56:55 -0500'>2019-02-22Move IRC formatting reset to C-sJune McEnroe 2019-02-22Disable terminal flow controlJune McEnroe 2019-02-22Bind up and down arrows to scrollJune McEnroe 2019-02-22Remove topic TODOJune McEnroe 2019-02-22Add /znc commandJune McEnroe 2019-02-22Update status line after scrolling and term eventsJune McEnroe 2019-02-22Reorganize input.cJune McEnroe 2019-02-22Fix name of <raw> window in man pageJune McEnroe 2019-02-22Rename global tags with angle bracketsJune McEnroe 2019-02-22Show status window while connectingJune McEnroe 2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe 2019-02-21Replace "view" with "window"June McEnroe 2019-02-21Remove ROT13June McEnroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe