This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/33863] backspace error on i386-pc-mingw32
- From: "dir at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Nov 2007 19:56:34 -0000
- Subject: [Bug libfortran/33863] backspace error on i386-pc-mingw32
- References: <bug-33863-10129@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from dir at lanl dot gov 2007-11-08 19:56 -------
When I changed it to directly open the file, it was happy. You are right, of
course, backspacing a stream file is not permitted. However, most run time
libraries do the simple thing when they see io-redirection - they close the
stream file and re-open it as a ordinary file. Is there any reason GFORTRAN
could not do that ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33863