#4827: Data.Array.IO.hPutArray/hGetArray ignore count argument
-------------------------------+--------------------------------------------
Reporter: dylex | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries (other)
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
-------------------------------+--------------------------------------------
The ghc versions of hGetArray and hPutArray in Data.Array.IO in the array
library ignore their count arguments, and read or write the full array
regardless. This was observed as a bug where extraneous garbage data was
written to the end of a file. The non-ghc versions (appear) correct.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4827>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs