wildcards (was Re: a problem I'm having with rsync-4.5.4)

Dave Dykstra dwd at bell-labs.com
Thu May 9 14:59:29 EST 2002

On Thu, May 09, 2002 at 02:32:59PM -0700, Wayne Davison wrote:
> On Thu, 9 May 2002, Dave Dykstra wrote:
> > I would say it's definitely too risky for 2.5.6.
> What would you say to adding a (simple) loop to the fnmatch() code that
> would cause unanchored things like "foo/*/bar" to not be bound to the
> start of the filename?  This would make it work in an equivalent way to
> the unanchored non-wildcard strings.

How many times would you have to call fnmatch for every file?  Sounds
like a CPU eater.

- Dave

More information about the rsync mailing list