fnmatch: sync glibc change fixing Bugzilla bug #12378
authorJames Youngman <jay@gnu.org>
Thu, 12 May 2011 21:14:11 +0000 (22:14 +0100)
committerEric Blake <eblake@redhat.com>
Sat, 14 May 2011 03:06:50 +0000 (21:06 -0600)
commit0bc30ce602212b9005e296602081138448691e79
tree1ad998074b0ba9b74e20c7c7e2f53c3515846c47
parentd65c36a0dad9c79af241ae49c93ff7c7967a1040
fnmatch: sync glibc change fixing Bugzilla bug #12378

* lib/fnmatch_loop.c (FCT): When matching '[' keep track of
beginning and fall back to matching as normal character if the
string ends before the matching ']' is found.  This is what POSIX
requires.
ChangeLog
lib/fnmatch_loop.c