mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: fnmatch and FNM_CASEFOLD
Date: Fri, 29 Nov 2013 18:34:17 -0500	[thread overview]
Message-ID: <20131129233417.GK24286@brightrain.aerifal.cx> (raw)
In-Reply-To: <20131129174249.GC24286@brightrain.aerifal.cx>

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


  reply	other threads:[~2013-11-29 23:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-29  9:59 orc
2013-11-29 17:42 ` Rich Felker
2013-11-29 23:34   ` Rich Felker [this message]
2013-11-30 21:16     ` Rich Felker
2013-12-01 14:02       ` Felix Janda
2013-12-01 22:06         ` Rich Felker
2013-12-02  7:26           ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131129233417.GK24286@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).