
21 Feb
2004
21 Feb
'04
12:46 p.m.
On Fri, Feb 20, 2004 at 09:45:08AM -0800, Sven Panne wrote:
panne 2004/02/20 09:45:08 PST
Modified files: libraries/Hugs IOExts.hs src iomonad.c Log: Added implementations for hSetBinaryMode, hPutBuf, and hGetBuf. The non-blocking variants are left as an easy exercise for the reader... :-] Only mildly tested.
I don't think hSetBinaryMode can be implemented on top of stdio (which Hugs uses): openBinaryFile fopens a file with mode "rb" etc to turn off CRLF processing on systems that have that feature, and there's no way to change it later.