]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgfortran/io/unix.c
re PR libfortran/32702 (crash when printing big character variable)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 10 Jul 2007 05:37:29 +0000 (05:37 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 10 Jul 2007 05:37:29 +0000 (05:37 +0000)
commit899583cb409be525bc9ab6ac11b3ce53f4791a30
tree2a610d19110bd011851316a599cf55540a6a308d
parente7c8ff569c1183610a1ff25c8fb4756be078dc75
re PR libfortran/32702 (crash when printing big character variable)

2007-07-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/32702
* io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
(fd_alloc): If the number of bytes needed is greater than the default
BUFFER_SIZE, allocate a new buffer large enough.  Free the old buffer if
necessary. (fd_sfree): Restore use of buffer pointer.
(fd_close): Likewise. (fd_open): Likewise.
(init_error_stream): Likewise.

From-SVN: r126510
libgfortran/ChangeLog
libgfortran/io/unix.c