about summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-07-24 14:17:31 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-07-24 14:17:31 +0000
commit6d81779954a9a5ef64c87a21ce131190a1214d7c (patch)
treea623aaf50ba606c83b57d82d1a17b09b11784fd5 /Src/parse.c
parentc17b40b6a0ac9d8168c52fe7e1ac47a6cd29894d (diff)
downloadzsh-6d81779954a9a5ef64c87a21ce131190a1214d7c.tar.gz
zsh-6d81779954a9a5ef64c87a21ce131190a1214d7c.tar.xz
zsh-6d81779954a9a5ef64c87a21ce131190a1214d7c.zip
remove nulargs in here strings (15470)
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c3
1 files changed, 3 insertions, 0 deletions
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();