This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: bug in fnmatch...
- To: Ben Collins <bcollins at debian dot org>
- Subject: Re: bug in fnmatch...
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 26 Oct 2001 17:36:26 -0700
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20011026200413.E10952@visi.net>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------