Fix buffering problem when GHCi is using the new IO library
authorSimon Marlow <marlowsd@gmail.com>
Tue, 23 Jun 2009 14:26:23 +0000 (14:26 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 23 Jun 2009 14:26:23 +0000 (14:26 +0000)
Behind the scenes, the new IO library always does buffering for read
Handles regardless of NoBuffering.  Normally this isn't visible, but
it causes a problem in GHCi where there are two stdin Handles.

This should fix those ghci test failures that sprung up in full
testsuite runs recently.


No differences found