This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/35132] Formatted stream I/O write should truncate



------- Comment #6 from jvdelisle at gcc dot gnu dot org  2008-02-10 13:51 -------
The patch only touches on formatted stream io:

    case FORMATTED_STREAM:
    case FORMATTED_SEQUENTIAL:
---snip---
          if (is_stream_io (dtp))
            {
              dtp->u.p.current_unit->strm_pos += len;
              struncate(dtp->u.p.current_unit->s);
            }


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]