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

Thomas Weber thomas.weber.mail at gmail.com
Tue Oct 20 18:14:57 UTC 2009


Hi, 

On Thu, Oct 15, 2009 at 02:09:30PM +0000, Sébastien Villemot wrote:
> Hi,
> 
> I think I found the culprit for what I thought was a race condition in
> Octave.
> 
> The problem has to do with the way Octave 3.2 updates its load-path: it
> only updates its cache of the current directory if the modification time
> of the directory changes (see load_path::dir_info::update() in
> src/load-path.cc).

In case it's not clear: this is a real problem and not some artificially
found issue. It makes software using Octave randomly fail at build time.

	Thomas






More information about the Pkg-octave-devel mailing list