about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/glob.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 55f5a38df..10736a337 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-02  Peter Stephenson  <pws@csr.com>
+
+	* 21557: Thorsten Dahlheimer: Src/glob.c: BRACE_CCL was broken
+	for character 255.
+
 2005-08-01  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* unposted: Test/B03print.ztst: some slight improvements to
diff --git a/Src/glob.c b/Src/glob.c
index 86cb9b626..54bb98f08 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -1919,7 +1919,7 @@ xpandbraces(LinkList list, LinkNode *np)
 	}
 	pl = str - str3;
 	len = pl + strlen(++str2) + 2;
-	for (p = ccl + 255; p-- > ccl;)
+	for (p = ccl + 256; p-- > ccl;)
 	    if (*p) {
 		c1 = p - ccl;
 		if (imeta(c1)) {