r132888 - in /trunk/libgfortran: ChangeLog io/u...

hp@gcc.gnu.org hp@gcc.gnu.org
Wed Mar 5 01:50:00 GMT 2008


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



More information about the Gcc-cvs mailing list