diff --git a/ChangeLog b/ChangeLog index 95ef29e13d..c7a1d40bba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2001-01-31 Ulrich Drepper + + * posix/fnmatch_loop.c: Remove incorrect reverse condition in + [. .] matching. Patch by Isamu Hasegawa . + +2001-01-31 Mark Kettenis + + * misc/sys/select.h: Include instead of + to get definition of `struct timeval'. + 2001-01-31 Ulrich Drepper * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale. diff --git a/misc/sys/select.h b/misc/sys/select.h index 331636106f..96af9582b7 100644 --- a/misc/sys/select.h +++ b/misc/sys/select.h @@ -42,7 +42,7 @@ typedef __sigset_t sigset_t; #define __need_timespec #include #define __need_timeval -#include +#include /* 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 8e78765fc8..80f6796b1e 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. */