* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken pipe"
test.
This commit is contained in:
parent
915d1824f7
commit
6e8b4dcdf1
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-04 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken
|
||||||
|
pipe" test.
|
||||||
|
|
||||||
2001-11-04 Christopher Faylor <cgf@redhat.com>
|
2001-11-04 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* select.cc: Add more comments throughout. Use bool 'true' where
|
* select.cc: Add more comments throughout. Use bool 'true' where
|
||||||
|
@ -52,7 +52,7 @@ fhandler_pipe::set_close_on_exec (int val)
|
|||||||
int __stdcall
|
int __stdcall
|
||||||
fhandler_pipe::read (void *in_ptr, size_t in_len)
|
fhandler_pipe::read (void *in_ptr, size_t in_len)
|
||||||
{
|
{
|
||||||
if (hit_eof ())
|
if (saweof)
|
||||||
return 0;
|
return 0;
|
||||||
int res = this->fhandler_base::read (in_ptr, in_len);
|
int res = this->fhandler_base::read (in_ptr, in_len);
|
||||||
(void) ReleaseMutex (guard);
|
(void) ReleaseMutex (guard);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user