[CHANGESET] Random failure of fopen when file does not exist

Rafael Laboissiere rafael at debian.org
Thu Feb 5 18:46:48 CST 2009


* John W. Eaton <jwe at octave.org> [2009-02-05 17:41]:

> Thanks for finding this problem.  I propose the following change
> instead, which will won't require hunting down all uses of fs.is_dir
> or similar funtions and only calling them if fs.exists returns true.
> 
>   http://hg.savannah.gnu.org/hgweb/octave/rev/ddbe87599331

Yes, your solution is much better, thanks.

> Does this also work for you, without your patch?

It should work, shouldn't it?  At any rate, I will apply the your patch to
the Debian package and I will let you know if ti works.

-- 
Rafael


More information about the Octave-maintainers mailing list