Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 22 Feb 2001 01:21:50 +0000 (01:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 22 Feb 2001 01:21:50 +0000 (01:21 +0000)
* posix/fnmatch_loop.c: Handle ranges outside glibc correctly.

ChangeLog
posix/fnmatch_loop.c

index ac761d2..ffcd759 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
 
+       * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
+
        * sysdeps/generic/ftime.c: Include <time.h>.
 
        * configure.in: Don't check for libgd if user set --without-gd.
index 80f6796..a453aec 100644 (file)
@@ -788,7 +788,7 @@ FCT (pattern, string, no_leading_period, flags)
                          return FNM_NOMATCH;
 
                        /* It is a range.  */
-                       if (cold <= fn && fn <= c)
+                       if (cold <= fn && fn <= cend)
                          goto matched;
 #endif