------- Comment #12 from hp at gcc dot gnu dot org  2008-03-05 01:51 -------
Subject: Bug 35293

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35293

Reply via email to