about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-07-27 22:02:45 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-07-27 22:02:45 +0000
commit19b4ca246ab3346a37e2d8045ad51385f0cf25f2 (patch)
tree3eae7aa6891c8a5758b525664523d3ab8240333f
parent0aee5e1bb490617b1d84d5ad8e20571d26fc9986 (diff)
downloadzsh-19b4ca246ab3346a37e2d8045ad51385f0cf25f2.tar.gz
zsh-19b4ca246ab3346a37e2d8045ad51385f0cf25f2.tar.xz
zsh-19b4ca246ab3346a37e2d8045ad51385f0cf25f2.zip
12415: fix bug in last patch when quoting metafied field separator.
-rw-r--r--ChangeLog5
-rw-r--r--Src/utils.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c1925dd74..55205875b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-27  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>
+
+	* 12415: Src/utils.c: fix bug in 12414 when quoting metafied field
+	separator.
+
 2000-07-27  Peter Stephenson  <pws@cambridgesiliconradio.com>
 
 	* 12414: Doc/Zsh/mod_zle.yo, Src/exec.c, Src/utils.c,
diff --git a/Src/utils.c b/Src/utils.c
index 48218326b..689680f1c 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -1901,6 +1901,8 @@ findsep(char **s, char *sep, int quote)
 	    if (quote && *t == '\\' &&
 		isep(t[1] == Meta ? (t[2] ^ 32) : t[1])) {
 		chuck(t);
+		if (*t == Meta)
+		    t++;
 		continue;
 	    }
 	    if (*t == Meta) {