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:
b11d520
)
fix silly mistake in hGetBufSome (#4895)
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 21 Jan 2011 14:35:55 +0000
(14:35 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 21 Jan 2011 14:35:55 +0000
(14:35 +0000)
GHC/IO/Handle/Text.hs
patch
|
blob
|
history
diff --git
a/GHC/IO/Handle/Text.hs
b/GHC/IO/Handle/Text.hs
index
949231b
..
e481efd
100644
(file)
--- a/
GHC/IO/Handle/Text.hs
+++ b/
GHC/IO/Handle/Text.hs
@@
-858,7
+858,7
@@
hGetBufSome h ptr count
-- that bufReadNBNonEmpty will not
-- issue another read.
else
- bufReadNBEmpty h_ buf (castPtr ptr) 0 count
+ bufReadNBNonEmpty h_ buf (castPtr ptr) 0 count
haFD :: Handle__ -> FD
haFD h_@Handle__{..} =