about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-08-01 16:29:20 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-08-01 16:29:20 +0000
commitc2ed9f96a7772bde53662e668dd3e1876f39a293 (patch)
treed88e90d257a73f65abe42f9268422e4e820e12b0 /Src
parent2e70a25d463b42f30aa404a22fca4582d660c0ba (diff)
downloadzsh-c2ed9f96a7772bde53662e668dd3e1876f39a293.tar.gz
zsh-c2ed9f96a7772bde53662e668dd3e1876f39a293.tar.xz
zsh-c2ed9f96a7772bde53662e668dd3e1876f39a293.zip
18920: fix unset IFS betterer
Diffstat (limited to 'Src')
-rw-r--r--Src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/utils.c b/Src/utils.c
index c83268422..0d9f9f9c3 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2058,6 +2058,8 @@ sepjoin(char **s, char *sep, int heap)
 	if (ifs) {
 	    *p++ = *ifs;
 	    *p++ = *ifs == Meta ? ifs[1] ^ 32 : '\0';
+	} else {
+	    *p++ = ' ';
 	}
 	*p = '\0';
     }