--- libev/ev_poll.c 2008/05/23 16:37:38 1.25 +++ libev/ev_poll.c 2008/10/23 04:56:49 1.26 @@ -42,6 +42,8 @@ void inline_size pollidx_init (int *base, int count) { + /* consider using memset (.., -1, ...), which is pratically guarenteed + * to work on all systems implementing poll */ while (count--) *base++ = -1; }