Commit c9bca6b6 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix EpollEvent structure declaration.

This fixes strange epoll results (yielding unknown file descriptors).
There is no explanation as of why it worked in 64bits until now.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1553 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent bfd97ea5
......@@ -61,6 +61,7 @@ class EpollData(Union):
class EpollEvent(Structure):
_fields_ = [("events", c_uint32),
("data", EpollData)]
_pack_ = 1
class Epoll(object):
efd = -1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment