about summary refs log tree commit diff
diff options
context:
space:
mode:
-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));