This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r132888 - in /trunk/libgfortran: ChangeLog io/u...
- From: hp at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 05 Mar 2008 01:50:33 -0000
- Subject: r132888 - in /trunk/libgfortran: ChangeLog io/u...
Author: hp
Date: Wed Mar 5 01:50:33 2008
New Revision: 132888
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132888
Log:
PR libfortran/35293
* io/unix.c (fd_truncate): Fold s->special_file case into
success case of ftruncate/chsize call instead of the failure case.
Make failure case actually return failure. Properly update stream
pointers on failure. Call runtime_error for targets without
neither ftruncate nor chsize where such a call would be needed.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/unix.c