|   | 
| 
 | 
Message-ID: <20131129233417.GK24286@brightrain.aerifal.cx>
Date: Fri, 29 Nov 2013 18:34:17 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: fnmatch and FNM_CASEFOLD
On Fri, Nov 29, 2013 at 12:42:49PM -0500, Rich Felker wrote:
> On Fri, Nov 29, 2013 at 05:59:12PM +0800, orc wrote:
> > Hi list,
> > 
> > This one really terrorized me well. Musl defines FNM_CASEFOLD in
> > fnmatch.h but really does nothing when this flag is passed to
> > function. This breaks busybox find -iname I believe, instead of file
> > list matching "Test" among with "test" i get only those which
> > contain "test" in their names with -iname "test". Missed lot of
> > files because of it.
> > Wishing this fixed or such define being removed.
> 
> I think this is a reasonable request. FNM_CASEFOLD is problematic to
I'd also like to remove FNM_LEADING_DIR, which is unsupported by musl
and documented in the man page as:
    "This flag is mainly for the internal use of glibc and is
    implemented only in certain cases."
Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.