Author amaury.forgeotdarc
Recipients ajaksu2, amaury.forgeotdarc, harobed
Date 2010-03-31.10:00:18
SpamBayes Score 2.79504e-05
Marked as misclassified No
Message-id <>
Buffering applies when writing, not when reading a file.

There is indeed a problem in after a readline(), read() will return the content of the internal buffer, and not more.

The "size" parameter is a hint, and should not be used to decide whether the character buffer is enough to satisfy the read() request.
Patch is attached, with test.
Date User Action Args
2010-03-31 10:00:21amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ajaksu2, harobed
2010-03-31 10:00:21amaury.forgeotdarcsetmessageid: <>
2010-03-31 10:00:19amaury.forgeotdarclinkissue8260 messages
2010-03-31 10:00:19amaury.forgeotdarccreate