Blame SOURCES/OpenIPMI-collectd.patch

ad32cd
diff -urNp a/unix/posix_thread_os_hnd.c b/unix/posix_thread_os_hnd.c
ad32cd
--- a/unix/posix_thread_os_hnd.c	2021-08-02 15:36:49.536860558 +0200
ad32cd
+++ b/unix/posix_thread_os_hnd.c	2021-08-02 15:38:48.990041616 +0200
ad32cd
@@ -140,8 +140,6 @@ add_fd(os_handler_t       *handler,
ad32cd
     fd_data->data_ready = data_ready;
ad32cd
     fd_data->handler = handler;
ad32cd
     fd_data->freed = freed;
ad32cd
-    sel_set_fd_write_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED);
ad32cd
-    sel_set_fd_except_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED);
ad32cd
     rv = sel_set_fd_handlers(posix_sel, fd, fd_data, fd_handler, NULL, NULL,
ad32cd
 			     free_fd_data);
ad32cd
     if (rv) {