[Bug libfortran/18297] gfortran : file opening fails if only read access

bdavis at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 4 23:21:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list