https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65200

--- Comment #7 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Author: jb
Date: Wed Mar 11 21:34:22 2015
New Revision: 221361

URL: https://gcc.gnu.org/viewcvs?rev=221361&root=gcc&view=rev
Log:
PR 65200 Handle EPERM in addition to EACCES.

gcc/fortran ChangeLog:

2015-03-11  Janne Blomqvist  <j...@gcc.gnu.org>

    PR libfortran/65200
    * gfortran.texi: Document behavior when opening files without
    explicit ACTION= specifier.

libgfortran ChangeLog:

2015-03-11  Janne Blomqvist  <j...@gcc.gnu.org>

    PR libfortran/65200
    * io/open.c (new_unit): Use gf_strerror rather than hardcoding
    error messages for different errno values.
    * io/unix.c (regular_file2): Handle EPERM in addition to EACCES.

gcc/testsuite ChangeLog:

2015-03-11  Janne Blomqvist  <j...@gcc.gnu.org>

    PR libfortran/65200
    * gfortran.dg/open_errors.f90: Update checks for iomsg string.
    * gfortran.dg/open_new_segv.f90: Fix error message pattern.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/open_errors.f90
    trunk/gcc/testsuite/gfortran.dg/open_new_segv.f90
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/open.c
    trunk/libgfortran/io/unix.c

Reply via email to