]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-5.3 patch 6: fix issues with range expressions and non-ascii characters in glob...
authorChet Ramey <chet.ramey@case.edu>
Wed, 26 Nov 2025 17:49:17 +0000 (12:49 -0500)
committerChet Ramey <chet.ramey@case.edu>
Wed, 26 Nov 2025 17:49:17 +0000 (12:49 -0500)
lib/glob/smatch.c
patchlevel.h

index e42b8fc1dfb6bb94467fdbddba3a98c027cc5307..af3856a3b6b2d45af34c54a3bfa7c14dffc57291 100644 (file)
@@ -390,7 +390,7 @@ charcmp_wc (wint_t c1, wint_t c2, int forcecoll)
   if (c1 == c2)
     return 0;
 
-  if (forcecoll == 0 && glob_asciirange && c1 <= UCHAR_MAX && c2 <= UCHAR_MAX)
+  if (forcecoll == 0 && glob_asciirange)
     return ((int)(c1 - c2));
 
   s1[0] = c1;
index 7caf230ab593b7431d53d34964c267791cd340a1..b8e99ec95f2f0d2bdf17bae11255661f99a620a3 100644 (file)
@@ -25,6 +25,6 @@
    regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
    looks for to find the patch level (for the sccs version string). */
 
-#define PATCHLEVEL 5
+#define PATCHLEVEL 6
 
 #endif /* _PATCHLEVEL_H_ */