[project @ 1999-11-25 16:54:14 by simonmar]
Incremental cleanups & improvements to the I/O subsystem - Initial fix for problems caused by partial writes to non-blocking file descriptors. To see this bug, run ghc/tests/programs/life_space_leak through a pipe. - remove FILEOBJ_FLUSH, it allegedly has the same meaning as FILEOBJ_WRITE. This fixes a buf in openFd: it erroneously didn't set FILEOBJ_FLUSH on writeable file descriptors. - some ANSIfication
Showing
- ghc/lib/std/cbits/allocMem.c 2 additions, 3 deletionsghc/lib/std/cbits/allocMem.c
- ghc/lib/std/cbits/closeFile.c 3 additions, 5 deletionsghc/lib/std/cbits/closeFile.c
- ghc/lib/std/cbits/fileEOF.c 2 additions, 3 deletionsghc/lib/std/cbits/fileEOF.c
- ghc/lib/std/cbits/fileLookAhead.c 3 additions, 6 deletionsghc/lib/std/cbits/fileLookAhead.c
- ghc/lib/std/cbits/fileObject.h 13 additions, 1 deletionghc/lib/std/cbits/fileObject.h
- ghc/lib/std/cbits/filePutc.c 2 additions, 4 deletionsghc/lib/std/cbits/filePutc.c
- ghc/lib/std/cbits/flushFile.c 6 additions, 10 deletionsghc/lib/std/cbits/flushFile.c
- ghc/lib/std/cbits/freeFile.c 16 additions, 11 deletionsghc/lib/std/cbits/freeFile.c
- ghc/lib/std/cbits/openFile.c 13 additions, 14 deletionsghc/lib/std/cbits/openFile.c
- ghc/lib/std/cbits/setBuffering.c 2 additions, 2 deletionsghc/lib/std/cbits/setBuffering.c
- ghc/lib/std/cbits/writeFile.c 20 additions, 24 deletionsghc/lib/std/cbits/writeFile.c
Loading
Please register or sign in to comment