Allow unknown fd device types for setNonBlockingMode.
This allows fds with a unknown device type to have blocking mode set. This happens for example for fds from the inotify subsystem. Fixes #25199.
Showing
- libraries/base/changelog.md 1 addition, 0 deletionslibraries/base/changelog.md
- libraries/ghc-internal/src/GHC/Internal/IO/FD.hs 10 additions, 4 deletionslibraries/ghc-internal/src/GHC/Internal/IO/FD.hs
- libraries/ghc-internal/src/GHC/Internal/System/Posix/Internals.hs 18 additions, 5 deletions...s/ghc-internal/src/GHC/Internal/System/Posix/Internals.hs
- testsuite/tests/interface-stability/base-exports.stdout 1 addition, 0 deletionstestsuite/tests/interface-stability/base-exports.stdout
- testsuite/tests/interface-stability/base-exports.stdout-javascript-unknown-ghcjs 1 addition, 0 deletions...ce-stability/base-exports.stdout-javascript-unknown-ghcjs
- testsuite/tests/interface-stability/base-exports.stdout-mingw32 1 addition, 0 deletions...ite/tests/interface-stability/base-exports.stdout-mingw32
- testsuite/tests/interface-stability/base-exports.stdout-ws-32 1 addition, 0 deletions...suite/tests/interface-stability/base-exports.stdout-ws-32
Loading