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 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


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