There were cases that we we were mishandling where D-BUS would try
to send us the same file descriptor when changing events. Instead
of trying to blindly add a new event (which caused an EEXIST error
in epoll), we will remove the old tevent_fd and add the new one.
Also, we were trying to be too fancy in the toggle function. It is
simpler to just remove or add watches as appropriate.
--
Stephen Gallagher
RHCE 804006346421761
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/