From c82e121ce74c6eb8a8320558d50687405f5c3b06 Mon Sep 17 00:00:00 2001 From: tegge Date: Sun, 13 Sep 1998 19:24:57 +0000 Subject: Be more consistent with handling of quote mark control character. Don't output double-quotes inside variable expansion/arithmetic expansion region in here-documents. When leaving the arithmetic expansion syntax mode, adjust the dblquote flag according to previous syntax, in order to avoid splitting of quoted variables. --- bin/sh/memalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/sh/memalloc.c') diff --git a/bin/sh/memalloc.c b/bin/sh/memalloc.c index b2fa2b4..c40eadd 100644 --- a/bin/sh/memalloc.c +++ b/bin/sh/memalloc.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)memalloc.c 8.3 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id: memalloc.c,v 1.10 1998/09/06 21:13:09 tegge Exp $"; + "$Id: memalloc.c,v 1.11 1998/09/10 14:51:06 cracauer Exp $"; #endif /* not lint */ #include "shell.h" @@ -269,7 +269,7 @@ char * growstackstr() { int len = stackblocksize(); if (herefd >= 0 && len >= 1024) { - xwrite(herefd, stackblock(), rmquotes(stackblock(), len)); + xwrite(herefd, stackblock(), len); sstrnleft = len - 1; return stackblock(); } -- cgit v1.1