bug in fnmatch...

Ulrich Drepper drepper@redhat.com
Fri Oct 26 17:39:00 GMT 2001


Ben Collins <bcollins@debian.org> writes:

> 	fnmatch("[x-]", "x", 0)
> 
> This does work, however:
> 
> 	fnmatch("[x-]", "-", 0)

No, the first call was wrong.  The second succeeded.  I've checked in
a patch.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-alpha mailing list