[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find -depth bug
From: |
James Youngman |
Subject: |
Re: find -depth bug |
Date: |
Wed, 16 Feb 2005 10:02:23 +0000 |
User-agent: |
Mutt/1.3.28i |
On Tue, Feb 15, 2005 at 12:24:49AM +0000, Joseph S. Myers wrote:
> With findutils 4.2.15, find -depth seems not always to find all matching
> files.
I have reproduced the problem. It's caused by the fact that the
processing of the predicates on the subdirectories invalidates the
data in 'stat_buf' and 'state'. I've changed the code in
process_path() so that it re-evaluates this information before calling
apply_predicate().
You can get the fixed version of the code (find.c revision 1.69) by
checking the code out of CVS in the usual way.
Regards,
James.