From 2840e5e1fda6a4d222057f583c6a65cb08a0074d Mon Sep 17 00:00:00 2001 From: svenbarth Date: Fri, 1 May 2020 13:11:02 +0000 Subject: [PATCH] * fix for Mantis #36895: the new epoll_pwait was missing the size parameter for the sigmask parameter git-svn-id: trunk@45208 - --- rtl/linux/linux.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/linux/linux.pp b/rtl/linux/linux.pp index 7dc44d7e7b..7a31fdf8f1 100644 --- a/rtl/linux/linux.pp +++ b/rtl/linux/linux.pp @@ -642,7 +642,7 @@ end; function epoll_pwait(epfd: cint; events: pepoll_event; maxevents, timeout: cint; sigmask: PSigSet): cint; begin epoll_pwait := do_syscall(syscall_nr_epoll_pwait, tsysparam(epfd), - tsysparam(events), tsysparam(maxevents), tsysparam(timeout), tsysparam(sigmask)); + tsysparam(events), tsysparam(maxevents), tsysparam(timeout), tsysparam(sigmask), sizeof(TSigSet)); end; function capget(header:Puser_cap_header;data:Puser_cap_data):cint;