[Libevent-users] [PATCH] Fix problems in the event port
implementation for Solaris
Trond Norbye
Trond.Norbye at Sun.COM
Thu Oct 25 03:44:15 EDT 2007
This patch fix the following problems:
* port_disassociate was sometimes called on events not associated in the
event port resulting in bogus error messages being printed out
* Use event_warn instead of perror
* Modified the implementation of the ed_pending array to contain the
index of the entry that needs to be reassociated instead of a pointer to
the element (so we don't need to relocate all of the pointers when the
array is relocated)
Trond Norbye
-------------- next part --------------
A non-text attachment was scrubbed...
Name: evport.c.patch
Type: text/x-patch
Size: 6378 bytes
Desc: not available
Url : http://monkeymail.org/archives/libevent-users/attachments/20071025/4243f3f4/evport.c-0001.bin
More information about the Libevent-users
mailing list