From 572930027d5d86a18ebd68d5f4273150a2f302e1 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 26 Apr 2009 20:06:14 +0000 Subject: hush: nommu fix for function passing --- shell/hush.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shell/hush.c') 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, * within double quotes by preceding it with a backslash. */ if (strchr("$`\"\\", next) != NULL) { - o_addqchr(dest, i_getch(input)); + ch = i_getch(input); + o_addqchr(dest, ch); + nommu_addchr(as_string, ch); } else { o_addqchr(dest, '\\'); + nommu_addchr(as_string, '\\'); } goto again; } -- cgit v1.2.3