Angus Leeming <[EMAIL PROTECTED]> writes:
| On Wednesday 11 September 2002 5:01 pm, Lars Gullik Bj�nnes
| wrote:
| > I am sure that this patch is ok... but it very hard to see
| > what the actuall changes are.
|
| Granted. Attached is the new read_ready function.
|
| It removes the lyxerr call at the top of the function and
| postpones it until something is ready to send to the callback.
|
| It rearranges the while loop so that it's now clean and easy to
| follow. It does this by filling the buffer until a EAGAIN error
| is received and then sends the buffer to the callback.
|
| It does nothing more.
It looks ok to me.
--
Lgb