From: Ulrich Drepper Date: Thu, 22 Feb 2001 01:21:50 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_3~356 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=bd8fbd5724003b8c49c949cbceb7f735eb90afb4;p=glibc.git Update. * posix/fnmatch_loop.c: Handle ranges outside glibc correctly. --- diff --git a/ChangeLog b/ChangeLog index ac761d2f39..ffcd759346 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-02-21 Ulrich Drepper + * posix/fnmatch_loop.c: Handle ranges outside glibc correctly. + * sysdeps/generic/ftime.c: Include . * configure.in: Don't check for libgd if user set --without-gd. diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c index 80f6796b1e..a453aec835 100644 --- a/posix/fnmatch_loop.c +++ b/posix/fnmatch_loop.c @@ -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