summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {