find_list_entry.c and "FNM_LEADING_DIR"?

Robert P. J. Day rpjday at mindspring.com
Tue Apr 18 13:26:21 UTC 2006


On Tue, 18 Apr 2006, Rich Felker wrote:

> On Tue, Apr 18, 2006 at 06:00:37AM -0400, Robert P. J. Day wrote:
> > i don't just want to toss in an fnmatch() option that represents a
> > quick and dirty fix for *my* situation if it turns out to be the
> > wrong approach in the long run.
>
> And moreover it is _not_ a fnmatch option but a GNU-fnmatch option.
>
> Please find a solution that will work for everyone. The behavior can
> be emulated by a simple loop to count '/' characters and split the
> string at the correct point, but maybe it's not even the correct
> behavior to begin with.

actually, that's what i've said several times already.  there's no
point trying to come up with a "fix" until we all agree on what the
proper semantics should be.  so who wants to define them?

rday



More information about the busybox mailing list