Gordon> I posted something here about dircache not too long ago. Gordon> Essentially, I found it completely unreliable on NT and on Linux Gordon> to stat the directory. There was some test code attached.
The modtime of the directory's stat info should only change if you add or delete entries in the directory. Were you perhaps expecting changes when other operations took place, like rewriting an existing file?