bug in busybox find -prune?

Natanael Copa natanael.copa at gmail.com
Mon Apr 9 13:45:17 UTC 2007


On Sat, 2007-04-07 at 22:35 +0200, Denis Vlasenko wrote:
> On Thursday 05 April 2007 16:59, Natanael Copa wrote:
> > > > Expected behaviour:
> > > > 
> > > > ncopa at nc ~/wrk/src/busybox/svn/busybox $ /usr/bin/find findutils/ -prune
> > > > -name 'f*'
> > > > findutils/a
> > > > 
> > > > I have no idea how to fix it.
> > > 
> > > Yup. Two bugs here... does attached version work for you?
> > 
> > Still has a bug:
> > al-1.5 trunk # ./busybox_unstripped find * -prune -name 'f*'
> > applets/.svn/format
> > arch/.svn/format
> > arch/i386/.svn/format
> > archival/.svn/format
> > archival/libunarchive/.svn/text-base/filter_accept_list.c.svn-base
> > ...
> > 
> > al-1.5 trunk # find * -prune -name 'f*'
> > findutils
> 
> Please try this one. (patch and drop-in replacement are attached,
> they are the same).

I think those works. Looks like you already committed to svn too.

Thank you very much!

Natanael Copa





More information about the busybox mailing list