From 7f26993e99cccf2d56958643b8eb369625f04726 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 28 Jun 2004 15:38:10 +0000 Subject: 20112 changed c.f. 20113: fix here string and here document expansion and quoting --- Src/exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src/exec.c') diff --git a/Src/exec.c b/Src/exec.c index 04e0e19ad..90e75db64 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -2714,9 +2714,10 @@ gethere(char *str, int typ) for (s = str; *s; s++) if (INULL(*s)) { - *s = Nularg; qt = 1; + break; } + quotesubst(str); untokenize(str); if (typ == REDIR_HEREDOCDASH) { strip = 1; -- cgit 1.4.1