[project @ 1999-11-23 14:39:57 by simonmar]
authorsimonmar <unknown>
Tue, 23 Nov 1999 14:39:57 +0000 (14:39 +0000)
committersimonmar <unknown>
Tue, 23 Nov 1999 14:39:57 +0000 (14:39 +0000)
wibble

ghc/lib/std/cbits/fileObject.h

index e8d1974..0da85ac 100644 (file)
 typedef struct _IOFileObject {
    int     fd;
    void*   buf;
-
-   int     bufStart; /* offset of start of data waiting to
-                       be written.  This may be non-zero in
-                       the case where we wrote out some of the
-                       buffer, and then blocked.
-
-                       NOTE: this field should be non-zero *only*
-                       when we just blocked on a call to writeBuffer,
-                       and we're going to restart the call when
-                       we unblock.  It should be zero at all other
-                       times.
-                    */
-
    int     bufWPtr;  /* points to next position to write,
                          bufRPtr >= bufWPtr <= bufSize.