This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, libgfortran] Fix for PR 18982
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Thomas Koenig <Thomas dot Koenig at online dot de>,gcc-patches at gcc dot gnu dot org
- Date: Sat, 22 Jan 2005 19:49:30 +0000
- Subject: Re: [patch, libgfortran] Fix for PR 18982
- Organization: CodeSourcery
- References: <20050117205842.GA5620@meiner.onlinehome.de>
> 2005-01-17 Thomas Koenig <Thomas.Koenig@online.de>
>
> PR libfortran/18982
> * io/unix.c (regular_file): No need to change flags->action
> if an error occurs. Document this.
> No need to call stat() for STATUS_OLD, open() will
> fail anyway.
> For ACTION_UNSPECIFIED, try open for read-write, then for
> read-only if open fails with EACCES, then for write-only
> if that fails with EACCES again.
> * io/unix.c (open_external): Document changed behavior of
> regular_file.
Applied, thanks.
Paul