[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.
hp at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 19 04:44:00 GMT 2008
------- Comment #3 from hp at gcc dot gnu dot org 2008-03-19 04:43 -------
(In reply to comment #2)
> Hmmm, reverting Hans-Peter's patch does not fix the problem. Apologies
> to Hans-Peter for jumping the gun.
Apology accepted. FWIW, looking at your strace output and streamio_4.f90, it
seems this fd 0x3 isn't a special file and the ftruncate calls succeed, so my
patch shouldn't have had any effect. But you know that now. I did a similar
strace for streamio_4 on x86_64-unknown-linux-gnu with r132965 and came to the
same conclusions; the lots-of-small-increment ftruncate-calls were introduced
with r132512 and not affected by my patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35632
More information about the Gcc-bugs
mailing list