On Tue, Feb 26, 2008 at 10:56 AM, <[EMAIL PROTECTED]> wrote: > Package: findutils > Version: 4.3.8-3 > > For example, running that command in the findutils source tree produces > the following trace, even though readdir() is returning valid d_type > information. (Verified with small handwritten utility.) > > I haven't dived very deeply into the code, although I do see optimization > in lib/savedirinfo.c and debian/rules specifies --enable-d_type-optimisation. > > So I'd think it should optimize out the majority of stat calls. > I'm not sure why it's not.
If you download the source distribution you will see that a binary "oldfind" is also built but not installed. That binary uses the same directory search algorithm as findutils-4.2.x rather than using the fts() function from gnulib (the default in findutils-4.3.x). How do they compare in this regard? James. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

