[cvs-nhc98] commit
Malcolm Wallace
malcolm@sparud.net
Wed, 22 Nov 2000 18:07:54 +0100 (CET)
malcolm: Wed Nov 22 18:07:54 CET 2000
nhc/src/runtime/Builtin cHClose.c cHFileSize.c cHFlush.c cHGetBuffering.c cHGetPosn.c cHIsEOF.c cHSeek.c cHSetBuffering.c cHSetPosn.c cOpen.c cOpenSocket.c primEqHandlePosn.c
Update of /usr/src/master/nhc/src/runtime/Builtin
In directory hinken:/tmp/cvs-serv1093/src/runtime/Builtin
Modified Files:
cHClose.c cHFileSize.c cHFlush.c cHGetBuffering.c cHGetPosn.c
cHIsEOF.c cHSeek.c cHSetBuffering.c cHSetPosn.c cOpen.c
cOpenSocket.c primEqHandlePosn.c
Log Message:
Introduce a big change in the way file-I/O is treated, permitting us to
*trace* file-I/O for the first time:
(1) Library IO now uses a ForeignObj as a Handle instead of an opaque type.
(2) Completely re-implement all file-I/O functions using foreign imports
instead of primitives.
(3) Fix some qualified naming errors:
Prelude.Handle -> IO.Handle
Prelude.stdin -> IO.stdin etc