summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/base/GHC/IO/Handle.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/base/GHC/IO/Handle.hs b/libraries/base/GHC/IO/Handle.hs
index 2d33af92e2..f62acc1510 100644
--- a/libraries/base/GHC/IO/Handle.hs
+++ b/libraries/base/GHC/IO/Handle.hs
@@ -237,7 +237,8 @@ hSetBuffering handle mode =
case mode of
#if !defined(mingw32_HOST_OS)
-- 'raw' mode under win32 is a bit too specialised (and troublesome
- -- for most common uses), so simply disable its use here.
+ -- for most common uses), so simply disable its use here when not using
+ -- WinIO.
NoBuffering -> IODevice.setRaw haDevice True
#else
NoBuffering -> return () <!> IODevice.setRaw haDevice True