diff options
author | Ron Yorston <rmy@pobox.com> | 2023-05-23 11:32:44 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-05-23 11:32:44 +0100 |
commit | 5adeafb91fe5d0fbfd2e4f773e64da9aa13d2f09 (patch) | |
tree | 5e739c2dd648786eeff06cc6a65fdff3d5ed8283 /shell/ash.c | |
parent | c2eb45989fcd59617884dc853743b5cc94b15935 (diff) | |
parent | 3e83699ce23400d75c7ddaa7ebfdec015177caa7 (diff) | |
download | busybox-w32-5adeafb91fe5d0fbfd2e4f773e64da9aa13d2f09.tar.gz busybox-w32-5adeafb91fe5d0fbfd2e4f773e64da9aa13d2f09.tar.bz2 busybox-w32-5adeafb91fe5d0fbfd2e4f773e64da9aa13d2f09.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 87df555dd..09e8725bf 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -8096,6 +8096,8 @@ subevalvar(char *start, char *str, int strloc, | |||
8096 | char *restart_detect = stackblock(); | 8096 | char *restart_detect = stackblock(); |
8097 | if (quotes && *loc == '\\') { | 8097 | if (quotes && *loc == '\\') { |
8098 | STPUTC(CTLESC, expdest); | 8098 | STPUTC(CTLESC, expdest); |
8099 | if (stackblock() != restart_detect) | ||
8100 | goto restart; | ||
8099 | len++; | 8101 | len++; |
8100 | } | 8102 | } |
8101 | STPUTC(*loc, expdest); | 8103 | STPUTC(*loc, expdest); |