diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | misc/sys/select.h | 2 | ||||
-rw-r--r-- | posix/fnmatch_loop.c | 2 |
3 files changed, 12 insertions, 2 deletions
@@ -1,5 +1,15 @@ 2001-01-31 Ulrich Drepper <drepper@redhat.com> + * posix/fnmatch_loop.c: Remove incorrect reverse condition in + [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. + +2001-01-31 Mark Kettenis <kettenis@gnu.org> + + * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h> + to get definition of `struct timeval'. + +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. diff --git a/misc/sys/select.h b/misc/sys/select.h index 3316361..96af958 100644 --- a/misc/sys/select.h +++ b/misc/sys/select.h @@ -42,7 +42,7 @@ typedef __sigset_t sigset_t; #define __need_timespec #include <time.h> #define __need_timeval -#include <sys/time.h> +#include <bits/time.h> /* The fd_set member is required to be an array of longs. */ diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c index 8e78765..80f6796 100644 --- a/posix/fnmatch_loop.c +++ b/posix/fnmatch_loop.c @@ -531,7 +531,7 @@ FCT (pattern, string, no_leading_period, flags) c = *p++; } - else if (symb_table[2 * elem] != 0 && c1 == 1) + else if (c1 == 1) { /* No valid character. Match it as a single byte. */ |