transfer.c (read_sf): Rename uinty to readlen.
authorPaul Brook <paul@codesourcery.com>
Tue, 31 Aug 2004 15:53:31 +0000 (15:53 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Tue, 31 Aug 2004 15:53:31 +0000 (15:53 +0000)
commitbd72d66cb5f8450f631da7149bf066f865d56338
treeeeec759a476bd4d9d5f8e220e891469fe79a14bb
parentc789f36b216c9318b7f5fadb3a632f91513e3156
transfer.c (read_sf): Rename uinty to readlen.

* io/transfer.c (read_sf): Rename uinty to readlen.  Detect EOF.
(finalize_transfer): Move setjmp after namlist IO.
* io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
testsuite/
* gfortran.dg/eof_1.f90: New test.

From-SVN: r86831
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/eof_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/transfer.c
libgfortran/io/unix.c