From 3c407cd544b8a015a71ee3623074536fd7f4c7b0 Mon Sep 17 00:00:00 2001 From: willy tarreau Date: Sun, 19 Mar 2006 19:33:33 +0100 Subject: [PATCH] ENORMOUS long standing bug affecting the epoll polling system. event_data is a union, not a structure ! --- include/epoll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/epoll.h b/include/epoll.h index af9841c03..4b753839c 100644 --- a/include/epoll.h +++ b/include/epoll.h @@ -23,7 +23,7 @@ struct epoll_event { uint32_t events; - struct { + union { void *ptr; int fd; uint32_t u32; -- 2.47.3