cvs commit: hugs98/libraries/Hugs IOExts.hs hugs98/src iomonad.c

Ross Paterson ross at soi.city.ac.uk
Sat Feb 21 17:46:17 EST 2004


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.


More information about the Cvs-hugs mailing list