about summary refs log tree commit diff
path: root/posix/fnmatch_loop.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-01 07:28:23 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-01 07:28:23 +0000
commit70dc5068f8105942b3ffa7ef57fbb88b6d4ce75a (patch)
treea6cb3eb1434c037b2705514a4bbac0da953d9bfc /posix/fnmatch_loop.c
parentf798bf32a2b076fe51898ab623d8dcab850d3dd1 (diff)
downloadglibc-70dc5068f8105942b3ffa7ef57fbb88b6d4ce75a.tar.gz
glibc-70dc5068f8105942b3ffa7ef57fbb88b6d4ce75a.tar.xz
glibc-70dc5068f8105942b3ffa7ef57fbb88b6d4ce75a.zip
Update.
	* 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>
Diffstat (limited to 'posix/fnmatch_loop.c')
-rw-r--r--posix/fnmatch_loop.c2
1 files changed, 1 insertions, 1 deletions
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.  */