Control-D not closing unit 5 in list-directed input
John Nabelek
nabelek@coas.oregonstate.edu
Sat Jan 26 10:20:00 GMT 2008
Hi Tobias
Here is the info:
gfortran -v
Using built-in specs.
Target: powerpc-apple-darwin9.0.0
Configured with: ../gcc-4.3-20071026/configure --enable-
languages=fortran
Thread model: posix
gcc version 4.3.0 20071026 (experimental) (GCC)
I downloaded it from High Performance Computing Mac OS X website:
http://prdownloads.sourceforge.net/hpc/gfortran-ppc-leopard-bin.tar.gz
I am on Mac PPC, MacOS X 10.5.1 (Leopard).
-John
On Jan 25, 2008, at 1:51 PM, Tobias Burnus wrote:
> Hi John,
>
> John Nabelek wrote:
>> With a statement such as
>> read(5,*,iostat=ios) number
>> entering Control-D has no effect.
>
> I cannot reproduce it. I tried gfortran 4.1, 4.2 and 4.3
> on an x86-64 Linux system and it simply works: ctrl-d is
> accepted by READ and the value of number is not changed.
>
> Thus we need more information, especially on which system
> you are and which version of gfortran you have.
> gfortran -v
> shows both.
>
> Tobias
More information about the Fortran
mailing list