On 3/24/26 20:31, Collin Funk wrote:
Wouldn't it be a bit easier, and a bit more safe, to buffer things
ourselves and just use read/write?

That might work if the application uses only readlinebuffer to read from the file, and always reads into the same linebuffer object. But the current API doesn't require that: it allows apps to intermix readlinebuffer with getc etc., and to use readlinebuffer on different struct linebuffer objects in different calls.

Reply via email to