[commit: packages/bytestring] 0.10.4.x, master: Don't mention ISO-8859-1 in doc string for hGetContents (da4c7e9)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:42:50 UTC 2015


Repository : ssh://git@git.haskell.org/bytestring

On branches: 0.10.4.x,master
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/da4c7e9b0944a1c3b8e82652c155346f35128696

>---------------------------------------------------------------

commit da4c7e9b0944a1c3b8e82652c155346f35128696
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Mon Jul 14 14:06:38 2014 +0200

    Don't mention ISO-8859-1 in doc string for hGetContents
    
    Closes GHC #5861.


>---------------------------------------------------------------

da4c7e9b0944a1c3b8e82652c155346f35128696
 Data/ByteString.hs | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Data/ByteString.hs b/Data/ByteString.hs
index 2df2e5c..b839150 100644
--- a/Data/ByteString.hs
+++ b/Data/ByteString.hs
@@ -1942,9 +1942,6 @@ illegalBufferSize handle fn sz =
 -- files > half of available memory, this may lead to memory exhaustion.
 -- Consider using 'readFile' in this case.
 --
--- As with 'hGet', the string representation in the file is assumed to
--- be ISO-8859-1.
---
 -- The Handle is closed once the contents have been read,
 -- or if an exception is thrown.
 --



More information about the ghc-commits mailing list