[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] 1.4.13 (and lower): bug in configure: kqueue test-case w/ x86_64



On Thu, Aug 19, 2010 at 1:24 AM, Christopher Layne <clayne@xxxxxxxxxxxx> wrote:
 [...]
> Just by adding a simple "memset(&ev, 0, sizeof ev)" above the initial ev
> struct assignments we're doing in the test-case, I see the following
> results:
 [...]
> The reason I think this is kind of an annoying bug is that if compiling with
> x86_64 on Darwin 10.5, one ends up with poll() behavior as the test-case
> claims kqueue is broken (because of the above issue). As far as know
> kqueue() doesn't have any significant issues under 10.5 (unlike 10.4). It's
> fairly common to use x86_64 - especially when one may be linking against
> other x86_64 libraries/binaries.
>
> I haven't verified differences under 10.6 yet.

Seems like an easy enough fix; I've checked in the memset to the 1.4
and 2.0 git branches.  Thanks!

yrs,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.