------- Additional Comments From coudert at clipper dot ens dot fr 2005-02-22 10:33 ------- This is really weird:
$ cat a.f90 integer :: i open (unit=20, file='data') read(20,*) i write(*,*) ' foo ' backspace(20) read(20,*) i end $ cat data 1 2 3 $ gfortran a.f90 && ./a.out foo $ cat data 1 3 If the 'write' statement is commented, then the data file is not modified after execution. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20068