Commit e06849a1 authored by Simon Marlow's avatar Simon Marlow
Browse files

don't overwrite io_manager_pipe if it is already set

Part of the fix for #3171
parent 4d926e46
......@@ -95,7 +95,9 @@ setIOManagerPipe (int fd)
// only called when THREADED_RTS, but unconditionally
// compiled here because GHC.Conc depends on it.
io_manager_pipe = fd;
if (io_manager_pipe < 0) {
io_manager_pipe = fd;
#if defined(THREADED_RTS)
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