This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/18297] gfortran : file opening fails if only read access
- From: "bdavis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2004 23:21:26 -0000
- Subject: [Bug libfortran/18297] gfortran : file opening fails if only read access
- References: <20041104154612.18297.mimo2@free.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bdavis at gcc dot gnu dot org 2004-11-04 23:21 -------
gfortran runtime does not know that you only intend to write to the file. you
need to add ACCESS='READ' to the open statement. With ACCESS set to read, a
read only file can be opened.
i do not think this is a bug.
--bud davis
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18297