summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/cond.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 852d35036..5b3b3224d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-24  Peter Stephenson  <pws@csr.com>
+
+	* 23694: Src/cond.c: change of infix condition features to C:
+	broke =~.
+
 2007-07-23  Peter Stephenson  <pws@csr.com>
 
 	* 23693: Src/Zle/compmatch.c: _match tried to match the quoted
diff --git a/Src/cond.c b/Src/cond.c
index e455882bb..a38df6fb7 100644
--- a/Src/cond.c
+++ b/Src/cond.c
@@ -96,7 +96,7 @@ evalcond(Estate state, char *fromtest)
 	{
 	    char *modname = isset(REMATCHPCRE) ? "zsh/pcre" : "zsh/regex";
 	    sprintf(overridename = overridebuf, "-%s-match", modname+4);
-	    (void)ensurefeature(modname, "c:", overridename+1);
+	    (void)ensurefeature(modname, "C:", overridename+1);
 	    ctype = COND_MODI;
 	}
 	/*FALLTHROUGH*/