This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: fnmatch() behaves oddly with *s and FNM_LEADING_DIR
- To: drepper at cygnus dot com (Ulrich Drepper)
- Subject: Re: fnmatch() behaves oddly with *s and FNM_LEADING_DIR
- From: Paul Eggert <eggert at twinsun dot com>
- Date: 15 Oct 2000 11:12:55 -0700
- Cc: cjw44 at flatline dot org dot uk, libc-alpha at sourceware dot cygnus dot com, 59829 at bugs dot debian dot org
- References: <E13kpTn-0005na-00@riva.ucam.org><m3em1if1x5.fsf@otr.mynet.cygnus.com>
Ulrich Drepper <drepper@redhat.com> writes:
> > >Synopsis: fnmatch() with FNM_LEADING_DIR matches * inconsistently
>
> I won't even look at this since FNM_LEADING_DIR is an internal flag.
The glibc 2.1.3 manual documents FNM_LEADING_DIR to behave the way
that GNU tar uses it. Has it been withdrawn recently? If so, why?
GNU tar has been using that flag ever since it was added to glibc in 1992.