cvs commit: hugs98/src iomonad.c
Ross Paterson
ross at haskell.org
Wed Nov 10 13:41:25 EST 2004
ross 2004/11/10 10:41:24 PST
Modified files:
src iomonad.c
Log:
tweaks to read-write handles:
* create the file if it doesn't exist, but don't truncate it if it does
(as implied by the Report)
* ensure an fseek intervenes between reads and writes, as required by ANSI C.
Thus these handles need 3 states, not 2.
Revision Changes Path
1.86 +48 -52 hugs98/src/iomonad.c
More information about the Cvs-hugs
mailing list