This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/20179] cannot mix C and Fortran I/O
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2005 17:12:37 -0000
- Subject: [Bug libfortran/20179] cannot mix C and Fortran I/O
- References: <20050223193435.20179.stevenj@fftw.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-05-23 17:12 -------
Good news for this PR. I located the root of the problem, which is that when the
library ends, we close() the stdout file descriptor, while the last line of
output (without newline trailing character) is not written yet.
So, the right thing to do might be not have a special test for stdout and
stderr, so that we don't close() those. Patch submitted for review.
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/fortra
| |n/2005-05/msg00267.html
Last reconfirmed|2005-05-22 22:09:34 |2005-05-23 17:12:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20179