summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--misc/sys/select.h2
-rw-r--r--posix/fnmatch_loop.c2
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 95ef29e13d..c7a1d40bba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 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 <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 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.  */