From: Siddhesh P. <sid...@gm...> - 2010-01-11 04:13:53
|
On Mon, Jan 11, 2010 at 9:21 AM, A M <ael...@gm...> wrote: > 1. libyahoo2.c -- new version of yahoo_read_ready(): > http://yadda.pastebin.com/f2c3bed91 I'm thinking of removing the errno dependency in libyahoo2 altogether. So libyahoo2 will assume that: 1) +ve value means data received 2) -ve value means the read/write would block 3) 0 means disconnected So the ext_yahoo_(read|write) will have to return values accordingly. The errno is being used only for logging, so that is unnecessary since we no longer care for networking related errors inside of libyahoo2. I'll make the change in a while and reply to this thread. > 2. Sample Applications -- new version of ext_yahoo_read(): > http://yadda.pastebin.com/f71b0f9f > Thanks, I think you had submitted a similar fix some days ago. I intended to use that, but have just not got around to actually making the changes yet :) -- Siddhesh Poyarekar http://siddhesh.in |