[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 14 06:01:00 GMT 2008



------- Comment #6 from jvdelisle at gcc dot gnu dot org  2008-02-14 06:00 -------
Created an attachment (id=15147)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15147&action=view)
Tentative patch

This patch fixes the test case when writing to an actual file, but not to
stdio.  Stdout is not seekable so this won't work for that case.  We will have
to do some more work on how we handle buffering of pre-connected units to do
better than this, and I don't think its worth the effort.  (Tabbing in formats
is a heck of a way to seek.  :)  Regression testing this now.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34974



More information about the Gcc-bugs mailing list