diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-26 20:06:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-26 20:06:14 +0000 |
commit | 572930027d5d86a18ebd68d5f4273150a2f302e1 (patch) | |
tree | 67f35d015b39c678bc3d2e271c956b6e356fa0d4 /shell/hush.c | |
parent | 5b7589eb27e748a3d281c0341219cf7435e8b4f1 (diff) | |
download | busybox-w32-572930027d5d86a18ebd68d5f4273150a2f302e1.tar.gz busybox-w32-572930027d5d86a18ebd68d5f4273150a2f302e1.tar.bz2 busybox-w32-572930027d5d86a18ebd68d5f4273150a2f302e1.zip |
hush: nommu fix for function passing
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 2ad8ebacb..292b8b2e3 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -5328,9 +5328,12 @@ static int parse_stream_dquoted(o_string *as_string, | |||
5328 | * within double quotes by preceding it with a backslash. | 5328 | * within double quotes by preceding it with a backslash. |
5329 | */ | 5329 | */ |
5330 | if (strchr("$`\"\\", next) != NULL) { | 5330 | if (strchr("$`\"\\", next) != NULL) { |
5331 | o_addqchr(dest, i_getch(input)); | 5331 | ch = i_getch(input); |
5332 | o_addqchr(dest, ch); | ||
5333 | nommu_addchr(as_string, ch); | ||
5332 | } else { | 5334 | } else { |
5333 | o_addqchr(dest, '\\'); | 5335 | o_addqchr(dest, '\\'); |
5336 | nommu_addchr(as_string, '\\'); | ||
5334 | } | 5337 | } |
5335 | goto again; | 5338 | goto again; |
5336 | } | 5339 | } |