[patch, fortran]PR25829 Add support for F2003 I/O features
Tobias Burnus
burnus@net-b.de
Sat Apr 5 22:33:00 GMT 2008
Jerry DeLisle wrote:
> I plan to commit the patch after the following:
> 1) clean up ChangeLogs
> 2) Version the st_wait symbol
> 3) Cross test the libraries with 4.3
> After the commit, I will start on the items identified by Tobias.
>
For those not on IRC: Jerry's testing passed after some minor changes.
I've compiled/run also some programs with no regressions, but they were
not heavily using I/O anyhow. One can thus expect the commit soon.
For Jerry: I found something else, which does not work, namely:
PAD= in the open statement works, but PAD= in the read statement seems
to be ignored.
character(len=9) :: a = 'XXXXXXXXX'
character(len=5) :: str = 'aaaaa'
integer :: i
open(99)
write(99,'(a)',advance='NO') 'ABCD'
rewind(99)
read(99,fmt='(a5)',pad='NO',advance='YES',iostat=i) str
close(99,status='delete')
if(i == 0) stop 'ERROR'
end
Tobias
More information about the Fortran
mailing list