fnmatch() behaves oddly with *s and FNM_LEADING_DIR

Paul Eggert eggert@twinsun.com
Sun Oct 15 11:13:00 GMT 2000


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.


More information about the Libc-alpha mailing list