Răsfoiți Sursa

* fix for Mantis #36895: the new epoll_pwait was missing the size parameter for the sigmask parameter

git-svn-id: trunk@45208 -
svenbarth 5 ani în urmă
părinte
comite
2840e5e1fd
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      rtl/linux/linux.pp

+ 1 - 1
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;