[Patch, libgfortran] Fix PR26499 End of File incorrectly positioned after binary I/O.

FX Coudert fxcoudert@gmail.com
Thu Mar 9 07:07:00 GMT 2006


>> 2006-03-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
>>     PR libgfortran/26499
>>     * io/file_pos (st_rewind): Flush always.
>>     * io/unix.c (fd_truncate): Return SUCCESS rather than FAILURE for
>>     special files like /dev/null.
>>     * io/transfer.c (st_write_done): Remove broken logic that 
>> prevented
>>     calling fd_truncate.

Unfortunately, I don't have time to regtest it, but I think it's OK. 
Given that you tested it thoroughly, please apply it to trunk and wait 
a week before applying to 4.1.

FX



More information about the Gcc-patches mailing list