OSDN Git Service

PR fortran/19478
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 May 2005 10:34:05 +0000 (10:34 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 May 2005 10:34:05 +0000 (10:34 +0000)
commit72909c79c152e947fbfb01cd2a7a662e1bf04417
treec0537506d38fd9557cb7187d283e93bf64e8276e
parent890ab29ec08094bea53020c24ddd380696773326
PR fortran/19478
* io/unix.c (fd_truncate): update positions when ftruncate
fails (like writing to /dev/null).
* gfortran.dg/dev_null.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99570 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dev_null.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/unix.c