On Fri, Sep 10, 2010 at 05:08:40PM +0200, Corinna Vinschen wrote: >What I'm still mulling over is a good idea to re-use the results of a >former call to readdir in a stat call. One problem here is to make sure >that a subsequent stat call is *really* accessing the same file as the >former readdir returned.
I've considered that before but you really can't cheaply determine that the file hasn't changed without going to the OS. And, then it isn't cheap. cgf
