From 70dc5068f8105942b3ffa7ef57fbb88b6d4ce75a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 1 Feb 2001 07:28:23 +0000 Subject: [PATCH] Update. * 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 --- ChangeLog | 10 ++++++++++ misc/sys/select.h | 2 +- posix/fnmatch_loop.c | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 95ef29e..c7a1d40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 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. * 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 #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 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. */ -- 2.7.4