Subject: Re: Select (function _libssh2_wait_socket) issue on some on an embedded platform

Re: Select (function _libssh2_wait_socket) issue on some on an embedded platform

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 Mar 2010 14:13:48 +0100 (CET)

On Fri, 26 Mar 2010, Sebastien Fricker wrote:

> If readfd and writefd are pointing to 2 different variables, select works
> well.

...

> The modification should not create any regression to libssh2, and if nobody
> are seeing any problem about this code, I will provide a patch.

I wouldn't mind that minor work-around to make it run better. But please, add
an explanatory comment about the reason for this weirdness, as otherwise
someone will just optimize it away again in the future...

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-26