summaryrefslogtreecommitdiff
path: root/ev_poll.c
diff options
context:
space:
mode:
authorroot <root>2008-10-23 04:56:49 +0000
committerroot <root>2008-10-23 04:56:49 +0000
commitc20fc675dcb3570f5da597115ced5a2a82c71029 (patch)
treeaa21394378c95b58e5eb4304ad65149d2b4b948f /ev_poll.c
parente18edf2b394650ac41062113ebb0750d493e18c3 (diff)
*** empty log message ***
Diffstat (limited to 'ev_poll.c')
-rw-r--r--ev_poll.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ev_poll.c b/ev_poll.c
index 4a9efdc..e9f5e51 100644
--- a/ev_poll.c
+++ b/ev_poll.c
@@ -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;
}