Re: gnulib/glibc bug in fnmatch()

2011-01-25 Thread Eric Blake
On 01/08/2011 03:34 PM, Eric Blake wrote: > I just filed: http://sourceware.org/bugzilla/show_bug.cgi?id=12378 > > which is in turn the root cause of this findutils bug: > https://savannah.gnu.org/bugs/index.php?32043 > > Basically, fnmatch("[","[",0) is required by POSIX 2008 to return 0, but >

gnulib/glibc bug in fnmatch()

2011-01-08 Thread Eric Blake
I just filed: http://sourceware.org/bugzilla/show_bug.cgi?id=12378 which is in turn the root cause of this findutils bug: https://savannah.gnu.org/bugs/index.php?32043 Basically, fnmatch("[","[",0) is required by POSIX 2008 to return 0, but in glibc, it returns FNM_NOMATCH. (It's behavior was mo