aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-02-18 19:45:44 +0100
committerLukas Larsson <[email protected]>2019-02-18 19:45:44 +0100
commitae3e42e425b3f135da2d5a89f51b2ec20bb532de (patch)
treeaf9707a42caab1f0894922286fd17aaa0a756866 /erts/emulator/sys
parentc73eea04a49fe50364c67987ae520eb12d2b064c (diff)
parent6941cb793e9bb7b58307753411b6126e80ffd720 (diff)
downloadotp-ae3e42e425b3f135da2d5a89f51b2ec20bb532de.tar.gz
otp-ae3e42e425b3f135da2d5a89f51b2ec20bb532de.tar.bz2
otp-ae3e42e425b3f135da2d5a89f51b2ec20bb532de.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/common/erl_poll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/sys/common/erl_poll.c b/erts/emulator/sys/common/erl_poll.c
index 27ffba58bd..c71d23f58c 100644
--- a/erts/emulator/sys/common/erl_poll.c
+++ b/erts/emulator/sys/common/erl_poll.c
@@ -872,8 +872,8 @@ update_pollset(ErtsPollSet *ps, int fd, ErtsPollOp op, ErtsPollEvents events)
}
}
-#if defined(EV_DISPATCH) && !defined(__OpenBSD__)
- /* If we have EV_DISPATCH we use it, unless we are on OpenBSD as the
+#if defined(EV_DISPATCH) && !(defined(__OpenBSD__) || defined(__NetBSD__))
+ /* If we have EV_DISPATCH we use it, unless we are on OpenBSD/NetBSD as the
behavior of EV_EOF seems to be edge triggered there and we need it
to be level triggered.