about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix Rosencrantz <f_rosencrantz@users.sourceforge.net>2004-06-04 06:00:32 +0000
committerFelix Rosencrantz <f_rosencrantz@users.sourceforge.net>2004-06-04 06:00:32 +0000
commitba2415ce67d39424de6200425cdf7804c0199509 (patch)
tree964b00431a80c7aad833a37294c3564013c2dc0f
parent4070b8ba9eaf31d38908cdcde8114d1cbf4e35b9 (diff)
downloadzsh-ba2415ce67d39424de6200425cdf7804c0199509.tar.gz
zsh-ba2415ce67d39424de6200425cdf7804c0199509.tar.xz
zsh-ba2415ce67d39424de6200425cdf7804c0199509.zip
20002 -- fix for matching spec core dump
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/compmatch.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 292eb0079..fe17300e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-03  Felix Rosencrantz <f_rosencrantz@yahoo.com>
+
+        * 20002: Src/Zle/compmatch.c: Fix a problem with an inconsistent
+	struct change in cmp_anchors().
+
 2004-06-03  Peter Stephenson  <pws@csr.com>
 
 	* 20017: Doc/.distfiles: add zsh.html to doc distribution.
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index 750b4cb58..90823c9f7 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -1398,7 +1398,7 @@ cmp_anchors(Cline o, Cline n, int join)
 	if (line) {
 	    o->flags |= CLF_LINE;
 	    o->word = NULL;
-	    n->wlen = 0;
+	    o->wlen = 0;
 	}
 	return 1;
     }