------- Comment #5 from dir at lanl dot gov 2006-03-01 17:37 ------- With a sequential access file, the eof is always positioned after the location of the last write. Thus, a file needs to be truncated to that location when it is closed, otherwise you are saving data that is beyond the "end of file". On a sequential tape, an eof mark seperates files and the eoi (end of information) is usually two consecutive eof marks.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26499