This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Control-D not closing unit 5 in list-directed input
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: John Nabelek <nabelek at coas dot oregonstate dot edu>, fortran at gcc dot gnu dot org
- Date: Fri, 25 Jan 2008 22:51:00 +0100
- Subject: Re: Control-D not closing unit 5 in list-directed input
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