Wed Aug 5 06:40:36 PDT 2009 Simon Marlow <[email protected]>
* Tweak the BufferedIO class to enable a memory-mapped file implementation
Ignore-this: ec67d7a0a6d977438deaa342503f77e0
We have to eliminate the assumption that an empty write buffer can be
constructed by setting the buffer pointers to zero: this isn't
necessarily the case when the buffer corresponds to a memory-mapped
file, or other in-memory device implementation.
M ./GHC/IO/Buffer.hs -17 +17
M ./GHC/IO/BufferedIO.hs -7 +20
M ./GHC/IO/FD.hs -1 +1
M ./GHC/IO/Handle/Internals.hs -3 +4
M ./GHC/IO/Handle/Text.hs -2 +2
View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20090805134036-12142-0e195676db32a675884b3c195fe62218d5e0f152.gz
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries