Line 0
Link Here
|
|
|
1 |
--- src/platform/unix/upollthread.pas.orig 2019-12-08 11:40:55 UTC |
2 |
+++ src/platform/unix/upollthread.pas |
3 |
@@ -161,7 +161,7 @@ begin |
4 |
// Create pipe for user triggered fake event |
5 |
FEventPipe[0] := -1; |
6 |
FEventPipe[1] := -1; |
7 |
- if fpPipe(FEventPipe) < 0 then |
8 |
+ if fpPipe(FEventPipe, 0) < 0 then |
9 |
Print(SysErrorMessage(fpGetErrNo)) |
10 |
else begin |
11 |
// Set both ends of pipe non blocking |