| Subject: | [Bug libfortran/20179] cannot mix C and Fortran I/O |
|---|---|
| From: | "fxcoudert at gcc dot gnu dot org" |
| Date: | 10 Sep 2005 16:16:25 -0000 |
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-09-10
16:16 -------
I should add that the code concerned is in io/transfer.c, line 1174:
/* Overwriting an existing sequential file ?
it is always safe to truncate the file on the first write */
if (g.mode == WRITING
&& current_unit->flags.access == ACCESS_SEQUENTIAL
&& current_unit->last_record == 0)
struncate(current_unit->s);
Well, my opinion is that this comment is wrong! :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20179
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug libfortran/20179] cannot mix C and Fortran I/O, fxcoudert at gcc dot gnu dot org |
|---|---|
| Next by Date: | [Bug c/23808] New: ICE in convert-move, building libgfortran with tree-vectorize, tprince at computer dot org |
| Previous by Thread: | [Bug libfortran/20179] cannot mix C and Fortran I/O, fxcoudert at gcc dot gnu dot org |
| Next by Thread: | [Bug libfortran/20179] cannot mix C and Fortran I/O, cvs-commit at gcc dot gnu dot org |
| Indexes: | [Date] [Thread] [Top] [All Lists] |