From bd8fbd5724003b8c49c949cbceb7f735eb90afb4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 22 Feb 2001 01:21:50 +0000 Subject: Update. * posix/fnmatch_loop.c: Handle ranges outside glibc correctly. --- posix/fnmatch_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix') 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 -- cgit 1.4.1