Don't put stdin into non-blocking mode (#2778, #2777)
authorSimon Marlow <marlowsd@gmail.com>
Fri, 14 Nov 2008 13:05:46 +0000 (13:05 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 14 Nov 2008 13:05:46 +0000 (13:05 +0000)
commit0b60725b6817a819b0d3c5ad940aef3eda008b88
tree63e2aa216a19a0a99aa68769e0945d7e53817858
parent57c3c1dd9a63aa901acf4b2d2acd7aef17e6b77f
Don't put stdin into non-blocking mode (#2778, #2777)
This used to be necessary when our I/O library needed all FDs in
O_NONBLOCK mode, and readline used to put stdin back into blocking
mode.  Nowadays the I/O library can cope with FDs in blocking mode,
and #2778/#2777 show why this is important.
compiler/ghci/InteractiveUI.hs