aboutsummaryrefslogtreecommitdiff
path: root/posix/fnmatch_loop.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-31 21:04:34 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-31 21:04:34 +0000
commitf798bf32a2b076fe51898ab623d8dcab850d3dd1 (patch)
tree0d2fb936fc2a95a3b8951e0b1734fb908ddd20b5 /posix/fnmatch_loop.c
parent306eeae553820c7ac30a94ac890a3fe70fc68909 (diff)
downloadglibc-f798bf32a2b076fe51898ab623d8dcab850d3dd1.zip
glibc-f798bf32a2b076fe51898ab623d8dcab850d3dd1.tar.gz
glibc-f798bf32a2b076fe51898ab623d8dcab850d3dd1.tar.bz2
Update.
2001-01-31 Ulrich Drepper <drepper@redhat.com> * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale. * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
Diffstat (limited to 'posix/fnmatch_loop.c')
-rw-r--r--posix/fnmatch_loop.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
index 1e1f284..8e78765 100644
--- a/posix/fnmatch_loop.c
+++ b/posix/fnmatch_loop.c
@@ -353,17 +353,11 @@ FCT (pattern, string, no_leading_period, flags)
/* We found a table entry. Now see whether the
character we are currently at has the same
equivalance class value. */
-# if !WIDE_CHAR_VERSION
int len = weights[idx];
-# endif
int32_t idx2;
const UCHAR *np = (const UCHAR *) n;
idx2 = findidx (&np);
-# if WIDE_CHAR_VERSION
- if (idx2 != 0 && weights[idx] == weights[idx2])
- goto matched;
-# else
if (idx2 != 0 && len == weights[idx2])
{
int cnt = 0;
@@ -376,7 +370,6 @@ FCT (pattern, string, no_leading_period, flags)
if (cnt == len)
goto matched;
}
-# endif
}
}