about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/parse.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ed98d61a7..b3c2e034c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-07-24  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 15470: Src/parse.c: remove nulargs in here strings
+
 2001-07-24  Bart Schaefer  <schaefer@zsh.org>
 
 	* 15472: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: Fix errors
diff --git a/Src/parse.c b/Src/parse.c
index 70a00031c..e5373cfc9 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1685,6 +1685,9 @@ par_redir(int *rp)
 	if ((tokstr[0] == Inang || tokstr[0] == Outang) && tokstr[1] == Inpar)
 	    type = tokstr[0] == Inang ? REDIR_INPIPE : REDIR_OUTPIPE;
 	break;
+    case REDIR_HERESTR:
+        remnulargs(name = dupstring(name));
+        break;
     }
     yylex();