[patch, libgfortran] PR33985 access="stream",form="unformatted" doesn't buffer

Thomas Koenig tkoenig@netcologne.de
Mon Dec 3 19:56:00 GMT 2007


On Mon, 2007-12-03 at 11:45 +0100, Angelo Graziosi wrote:
> I do not think to my eyes... (ref.[1])

Buffering is ok now:

read(3, "\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0"...,
8192) = 8192
read(3, "\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0"...,
8192) = 8192
read(3, "\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0"...,
8192) = 8192
read(3, "\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0"...,
8192) = 8192
read(3, "\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0"...,
8192) = 8192
read(3, "\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0"...,
8192) = 8192
read(3, "\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0"...,
8192) = 8192
read(3, "\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0\0\0\0\0\360?\0\0"...,
8192) = 8192

Offhand, I don't see what else we could do (except maybe increase
our buffer size).



More information about the Fortran mailing list