diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-09-29 16:25:32 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-01-01 14:30:58 +0100 |
commit | 4ac4f60942db83cb692fc94be28383f9c15a7379 (patch) | |
tree | 5106f0be8c2e3f26587f8e3f53ebe78bf010b9cf | |
parent | 94f6d1ece0b6d023f173c5b5141b92229a3830fa (diff) | |
download | busybox-w32-4ac4f60942db83cb692fc94be28383f9c15a7379.tar.gz busybox-w32-4ac4f60942db83cb692fc94be28383f9c15a7379.tar.bz2 busybox-w32-4ac4f60942db83cb692fc94be28383f9c15a7379.zip |
ash: remove a tentative TODO, it's a wrong idea
Upstream tried it, and then reverted by:
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Tue, 26 May 2020 23:19:05 +1000
parser: Fix double-backslash nl in old-style command sub
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index ecb9b132b..ac25866ec 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -12811,7 +12811,7 @@ parsebackq: { | |||
12811 | goto done; | 12811 | goto done; |
12812 | 12812 | ||
12813 | case '\\': | 12813 | case '\\': |
12814 | pc = pgetc(); /* or pgetc_eatbnl()? why (example)? */ | 12814 | pc = pgetc(); /* not pgetc_eatbnl! */ |
12815 | if (pc != '\\' && pc != '`' && pc != '$' | 12815 | if (pc != '\\' && pc != '`' && pc != '$' |
12816 | && (!synstack->dblquote || pc != '"') | 12816 | && (!synstack->dblquote || pc != '"') |
12817 | ) { | 12817 | ) { |