This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]