re PR fortran/35632 (stream io broken on FreeBSD due to ftruncate changes.)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 22 Mar 2008 22:03:13 +0000 (22:03 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 22 Mar 2008 22:03:13 +0000 (22:03 +0000)
commit35077d5aed52d82f38476ba5cb95cc4df0382483
tree7a539c2bba799cb72893338ac68d076046838ab1
parent1b738915e844455ed10082d9b6edab47eb7a9fd8
re PR fortran/35632 (stream io broken on FreeBSD due to ftruncate changes.)

2008-03-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/35632
* io/transfer.c (data_transfer_init):  Fix whitespace.
(next_record_w): Truncate the file only if the stream
position is short of the file end.

From-SVN: r133454
libgfortran/ChangeLog
libgfortran/io/transfer.c