Commits


io.c: kill select FD_SETSIZE sanity check in io_library_init. We already have way too many.


io.c: fix select FD_SETSIZE check when using epoll as io backend


io.c: try to cut down the number of ifdefs. consolidate backend-specific helpers and add empty statinc inle stubs in the ifndef case to let the compiler remove the functions at compile time.


io_event_disable: return if event-to-disable is already off


kqueue: check for EV_ERROR in .flags if kevent() returns events, check for EV_ERROR in event flags, too.


Fix code to compile using K&R C compiler and ansi2kr again.


fix broken IO_DEBUG build


io_event_add: return if eventtype is already registered.


New configure option "--without-select"; when usin epoll() IO API include support for select() as well by default and fall back on runtime when needed.


removed errouneous FD_SETSIZE limit when not using select()


io_close_poll()s closing brace mysteriously disappeared... fixed.


Added support for the /dev/poll i/o interface.


simplify io_library_init*


add support for the poll() interface


cleanup


Removed unused variable "ret" when using the select() API.


remove fd from io_event structure


make splint complain less...


disabled most (rather annoying) debug messages using DEBUG_ARRAY / DEBUG_IO defines


kqueue support was completely broken; seemed to work on FreeBSD just because of sheer luck.


io_close(): explicitly remove fd from epoll set


use size_t for array length variables


last cleanup accidentally broke kqueue backend.


removed misleading const qualifier


fix kevent() warning on powerpc-apple-darwin8-gcc-4.0.0


remove unneeded call io_event_kqueue_commit_cache()


prevent io_masterfd leak when library_init() is called twice


Cleaned up some log messages.


removed unneeded return statement


removed some Debug-Code.


add new IO layer