[CHANGESET] Random failure of fopen when file does not exist
Rafael Laboissiere
rafael at debian.org
Fri Feb 6 15:08:38 CST 2009
* Rafael Laboissiere <rafael at debian.org> [2009-02-06 01:46]:
> * 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.
I uploaded a fixed octave3.1 3.1.51-4 to Debian experimental using a
patch adapted form your changeset. It builds perfectly now.
Thanks,
--
Rafael
More information about the Octave-maintainers
mailing list