------- Comment #2 from tkoenig at gcc dot gnu dot org  2006-12-16 11:44 -------
(In reply to comment #1)

> These seeks actually translate to OS calls, which of course fails
> for pipes.

We could get by for writing if we

- eliminated the seeks as long as we don't actually go past our buffer
- flushed after every write statement if we have a non-seekable file
- set the subrecord size to the buffer length - 2*length of the record marker.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162

Reply via email to