summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-09-29 16:25:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-01-01 14:30:58 +0100
commit4ac4f60942db83cb692fc94be28383f9c15a7379 (patch)
tree5106f0be8c2e3f26587f8e3f53ebe78bf010b9cf
parent94f6d1ece0b6d023f173c5b5141b92229a3830fa (diff)
downloadbusybox-4ac4f60942db83cb692fc94be28383f9c15a7379.tar.gz
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.c2
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: {
goto done;
case '\\':
- pc = pgetc(); /* or pgetc_eatbnl()? why (example)? */
+ pc = pgetc(); /* not pgetc_eatbnl! */
if (pc != '\\' && pc != '`' && pc != '$'
&& (!synstack->dblquote || pc != '"')
) {