------- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-12-04 07:30 ------- hint: I think bytes_written needs to be calculated slightly differently so that the CR/LF is added at the end when the file is closed in close.c (close_unit_1)
stream POS specifiers are base 1 and RECL is base 0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34323