projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff65b55
)
Fix syntax error that prevents building Haddock documentation on Windows
author
brianlsmith@gmail.com
<unknown>
Sun, 17 Sep 2006 01:35:30 +0000
(
01:35
+0000)
committer
brianlsmith@gmail.com
<unknown>
Sun, 17 Sep 2006 01:35:30 +0000
(
01:35
+0000)
GHC/Handle.hs
patch
|
blob
|
history
diff --git
a/GHC/Handle.hs
b/GHC/Handle.hs
index
d938e7b
..
e0b755f
100644
(file)
--- a/
GHC/Handle.hs
+++ b/
GHC/Handle.hs
@@
-974,7
+974,7
@@
mkFileHandle fd is_stream filepath ha_type binary = do
-- On Windows, if this is a read/write handle and we are in text mode,
-- turn off buffering. We don't correctly handle the case of switching
-- from read mode to write mode on a buffered text-mode handle, see bug
- -- #679.
+ -- \#679.
bmode <- case ha_type of
ReadWriteHandle | not binary -> return NoBuffering
_other -> return bmode