------- Comment #10 from jb at gcc dot gnu dot org 2008-05-16 17:43 ------- Subject: Bug 25561
Author: jb Date: Fri May 16 17:42:44 2008 New Revision: 135433 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135433 Log: Part 1.1 of PR25561. 2008-05-15 Janne Blomqvist <[EMAIL PROTECTED]> PR libfortran/25561 * io/io.h (struct fbuf): Change pointer to position offset. * io/fbuf.c (fbuf_init): Reduce default size of buffer, ptr=>pos changes. (fbuf_reset): ptr=>pos changes. (fbuf_alloc): If the request doesn't fit, don't waste memory by keeping flushed bytes. ptr=>pos changes. (fbuf_flush): ptr=>pos changes. (fbuf_seek): Don't seek past the left tab limit, don't update active byte count. * io/open.c (new_unit): If RECL has been specified, used that as initial buffer size. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/fbuf.c trunk/libgfortran/io/io.h trunk/libgfortran/io/open.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25561