[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[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())



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

Reply to: