[Pkg-octave-devel] Bug#550823: Updating load-path cache based on modification times probably a bad idea (was: Race condition between Octave 3.2.3 and unlink())

Judd Storrs storrsjm at email.uc.edu
Tue Oct 20 23:49:39 UTC 2009


If we're already keeping track of when we last read a directory/file,
wouldn't it be easiest to make the comparison know about the tolerance? i.e.
use something equivalent to

if modtime + tolerance > cachetime
   reparse
endif

Then when the file/directory is older than the tolerance full caching would
kick in?

--judd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20091020/ea6e2baa/attachment-0001.htm>


More information about the Pkg-octave-devel mailing list