(j3.2006) (SC22WG5.3885) [ukfortran] WG5 Ballot 6 (N1765)
N.M. Maclaren
nmm1
Thu Jan 22 09:57:54 UTC 2009
On Jan 22 2009, Robert Corbett wrote:
>Van Snyder wrote:
>
>> F03/0117: Making the whole file undefined seems a bit harsh. Couldn't
>> this have been "the record being written when the program is
>> terminated?"
>
>That change would place a burden on I/O buffering that would
>hurt the performance of many implementations. For some types
>of devices, it might even be impossible to implement.
Actually, I believe that all of those points apply only to poorly
implemented I/O systems, and a suitably milder constraint would be
possible. I am nowhere near omniscient on I/O systems, but have used a wide
variety, and know of none that couldn't support Van's proposal (in
principle).
Unfortunately, it would need quite a lot of wording, because formatted I/O
allows multiple records to be written in one statement and stream files
muddy the issue considerably. I doubt that it is worth the effort.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nmm1 at cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679
More information about the J3
mailing list