* fhandler.cc (fhandler_base::wait_overlapped): Always assume that bytes will
be non-NULL. Distinguish input result from result derived from WFMO and GetOverlappedResult or res can never be -1. Only raise SIGPIPE when writing. * fhandler.h (fhandler_base::wait_overlapped): Pass first argument by value. * fhandler_fifo.cc (fhandler_fifo::wait): Pass in dummy byte count to wait_overlapped. * pipe.cc (DEFAULT_PIPEBUFSIZE): Define to 65536 explicitly.
This commit is contained in:
@@ -490,7 +490,7 @@ fhandler_pipe::fstatvfs (struct statvfs *sfs)
|
||||
return -1;
|
||||
}
|
||||
|
||||
#define DEFAULT_PIPEBUFSIZE (16 * PIPE_BUF)
|
||||
#define DEFAULT_PIPEBUFSIZE 65536
|
||||
|
||||
extern "C" int
|
||||
pipe (int filedes[2])
|
||||
|
Reference in New Issue
Block a user