[PATCH] implement find -ipath

Rich Felker dalias at aerifal.cx
Sun May 22 18:30:03 UTC 2011


On Sun, May 22, 2011 at 04:35:11AM +0200, Denys Vlasenko wrote:
> > Also, note that it's nearly impossible to implement case folding
> > fnmatch without just implementing fnmatch in terms of regex, due to
> > the complexity of Unicode case folding, so we have very good reason
> > for not supporting this nonstandard extension in musl...
> 
> You don't have to implement Unicode case folding. ASCII will be enough
> for 99.9% of users.

This is a potential solution, but I'm unsure if "Worse is Better"...

Anyway I noticed I'd alread added the FNM_CASEFOLD definition to musl
(as a no-op) to work around Busybox's pre-existing dependency on it.
So this patch does not break anything that wasn't already broken.
Still it might be nice to put #ifndef FNM_CASEFOLD / #define
FNM_CASEFOLD 0 somewhere in the file.


Rich


More information about the busybox mailing list