Commit 56f2fcce authored by Remy Blank's avatar Remy Blank

Fix two typos in bit operations.

parent 24dc6ae7
...@@ -68,7 +68,7 @@ void setCloseOnExec(int fd) { ...@@ -68,7 +68,7 @@ void setCloseOnExec(int fd) {
static constexpr uint NEW_FD_FLAGS = static constexpr uint NEW_FD_FLAGS =
#if __linux__ #if __linux__
LowLevelAsyncIoProvider::ALREADY_CLOEXEC || LowLevelAsyncIoProvider::ALREADY_NONBLOCK || LowLevelAsyncIoProvider::ALREADY_CLOEXEC | LowLevelAsyncIoProvider::ALREADY_NONBLOCK |
#endif #endif
LowLevelAsyncIoProvider::TAKE_OWNERSHIP; LowLevelAsyncIoProvider::TAKE_OWNERSHIP;
// We always try to open FDs with CLOEXEC and NONBLOCK already set on Linux, but on other platforms // We always try to open FDs with CLOEXEC and NONBLOCK already set on Linux, but on other platforms
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment