update fnmatch to POSIX 2008 semantics
authorRich Felker <dalias@aerifal.cx>
Thu, 26 Apr 2012 16:24:44 +0000 (12:24 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 26 Apr 2012 16:24:44 +0000 (12:24 -0400)
commit2b87a5db82833c6d148b70d29a33cd51fff491e3
tree52983138a2f743eb652386367b5f8313f7317b50
parent0bd7ac05d1c6691a7ff33c0145adcafb4f4803df
update fnmatch to POSIX 2008 semantics

an invalid bracket expression must be treated as if the opening
bracket were just a literal character. this is to fix a bug whereby
POSIX left the behavior of the "[" shell command undefined due to it
being an invalid bracket expression.
src/regex/fnmatch.c