about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-06-03 18:02:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-06-03 18:02:07 +0000
commit4018e3c1493ea415ef9ad5eba83ad153263d3371 (patch)
treefcc394d9bb815f693273c622acd0f63ea9780d8e
parentcba898f217ac837a2b8da9f40e6c754d3898eb46 (diff)
downloadzsh-4018e3c1493ea415ef9ad5eba83ad153263d3371.tar.gz
zsh-4018e3c1493ea415ef9ad5eba83ad153263d3371.tar.xz
zsh-4018e3c1493ea415ef9ad5eba83ad153263d3371.zip
18600: bug matching against [[:xdigit:]]
-rw-r--r--ChangeLog4
-rw-r--r--Src/pattern.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dbee8f201..0ffd7b588 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-03  Peter Stephenson  <pws@csr.com>
+
+	* 18600: Src/pattern.c: bug matching against [[:xdigit:]].
+
 2003-05-30  Oliver Kiddle  <opk@zsh.org>
 
 	* 18587: Src/Modules/langinfo.c: fix bug where only the beginning
diff --git a/Src/pattern.c b/Src/pattern.c
index 71f2f379c..89c07b52f 100644
--- a/Src/pattern.c
+++ b/Src/pattern.c
@@ -2247,6 +2247,7 @@ patmatchrange(char *range, int ch)
 	    case PP_XDIGIT:
 		if (isxdigit(ch))
 		    return 1;
+		break;
 	    case PP_RANGE:
 		range++;
 		r1 = STOUC(UNMETA(range));