diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-01 03:04:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-01 03:04:55 +0200 |
commit | 1e5111b0f80b1f3d7f2fc8254cb70de067317403 (patch) | |
tree | ee7a49ce2dad513159b7c62e43d7a645950bf207 /shell/ash.c | |
parent | 32e183e63ecb46595a480ab66120795ed9c9e0df (diff) | |
download | busybox-w32-1e5111b0f80b1f3d7f2fc8254cb70de067317403.tar.gz busybox-w32-1e5111b0f80b1f3d7f2fc8254cb70de067317403.tar.bz2 busybox-w32-1e5111b0f80b1f3d7f2fc8254cb70de067317403.zip |
ash,hush: handle a few more bkslash-newline cases
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-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 a7767b4f8..454bc3317 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -12649,7 +12649,7 @@ xxreadtoken(void) | |||
12649 | break; /* return readtoken1(...) */ | 12649 | break; /* return readtoken1(...) */ |
12650 | 12650 | ||
12651 | if ((int)(p - xxreadtoken_chars) >= xxreadtoken_singles) { | 12651 | if ((int)(p - xxreadtoken_chars) >= xxreadtoken_singles) { |
12652 | int cc = pgetc(); | 12652 | int cc = pgetc_eatbnl(); |
12653 | if (cc == c) { /* double occurrence? */ | 12653 | if (cc == c) { /* double occurrence? */ |
12654 | p += xxreadtoken_doubles + 1; | 12654 | p += xxreadtoken_doubles + 1; |
12655 | } else { | 12655 | } else { |