about summary refs log tree commit diff
path: root/Src/subst.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-15 14:38:14 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-15 14:38:14 +0000
commit9e107157c52570953150ad7ef71eb31d583b00e7 (patch)
tree4fd4b17a206c7e643021d7e35f4a2ad0066a6582 /Src/subst.c
parentbc9e764f4e9b95ec4c2a855c4118f6afb994e904 (diff)
downloadzsh-9e107157c52570953150ad7ef71eb31d583b00e7.tar.gz
zsh-9e107157c52570953150ad7ef71eb31d583b00e7.tar.xz
zsh-9e107157c52570953150ad7ef71eb31d583b00e7.zip
zsh-workers/7848
Diffstat (limited to 'Src/subst.c')
-rw-r--r--Src/subst.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/subst.c b/Src/subst.c
index 48dac35e6..486ac60c9 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -242,7 +242,7 @@ singsub(char **s)
 }
 
 /* Perform substitution on a single word. Unlike with singsub, the      *
- * result can have more than one word. A single word result is sorted   *
+ * result can have more than one word. A single word result is stored   *
  * in *s and *isarr is set to zero; otherwise *isarr is set to 1 and    *
  * the result is stored in *a. If `a' is zero a multiple word result is *
  * joined using sep or the IFS parameter if sep is zero and the result  *
@@ -1288,8 +1288,6 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
 		if (*ptr == '\\' && ptr[1] == '/')
 		    chuck(ptr);
 	    replstr = (*ptr && ptr[1]) ? ptr+1 : "";
-	    singsub(&replstr);
-	    untokenize(replstr);
 	    *ptr = '\0';
 	}