Subject: Re: [patch] use poll when available on blocking API

Re: [patch] use poll when available on blocking API

From: Simon Josefsson <simon_at_josefsson.org>
Date: Tue, 23 Mar 2010 22:29:18 +0100

Daniel Stenberg <daniel_at_haxx.se> writes:

> On Tue, 23 Mar 2010, Simon Josefsson wrote:
>
>>> I just pushed a fix for configure that skips the poll check on two
>>> systems with known problematic poll implementations.
>>
>> Great. I take it that 'darwin' doesn't refer to modern Mac OS X
>> systems? The pattern 'darwin*' doesn't match a Mac I have access to,
>> which is called powerpc-apple-darwin8.11.0
>
> Even fairly modern Mac OS X machines have broken poll(), and I'm not
> even sure the most modern ones have that fixed. We did have an Apple
> guy educate us on these matters within the curl project which made us
> use that pattern...

The pattern used by libssh2 now (i.e., 'darwin*') will not match modern
Mac OS X systems, I believe. Do you use 'darwin*' or '*darwin*' in
curl?

I'm only aware of these problems on Mac OS X:
http://www.gnu.org/software/gnulib/manual/html_node/poll.html

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