[tech] grrr... bloody morwong.

Duncan Sargeant dunc at rcpt.to
Wed May 17 11:22:16 WST 2000


Ian McKellar wrote on Wed May 17, at 11:13 +0800:
> On Wed, May 17, 2000 at 11:08:50AM +0800, Duncan Sargeant wrote:
> > David Luyer wrote on Wed May 17, at 13:01 +1000:
> > > > In my experience the noac flag is generally ignored.
> > > > 
> > > > Attributes are still cached.
> > > 
> > > It's always worked for me.
> > 
> > Years ago when I was hacking mutt, freading and fwriting didn't always
> > update the attributes of the file.  Sometimes, but not always.  My
> > workaround was to call utime() as required.
> 
> So utime() flushes the cache? John could put utime() calls in before 
> checking the modification time...

utime appeared to set attributes over NFS more reliably that write or
read.

But you want to call utime() after a read or write, its a bit pointless
calling utime() right before you stat() the file ...

,dunc




More information about the tech mailing list