Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-05 04:52:20 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-05 04:52:20 +0300
commite25e893d6b13fdb6c8af1aee7644cf54cad16623 (patch)
treea782159c65e07f9ba18ccb2fa8649376c7b52688 /winsup/cygwin/fhandler.h
parent6e8b4dcdf1e467c51560bcc0b0cd919fabaa24cf (diff)
* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
(fhandler_pipe::set_eof): Reflect above change. * pipe.cc (fhandler_pipe::fhandler_pipe): Ditto. (fhandler_pipe::read): Ditto. (fhandler_pipe::hiteof): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 31ec5fe64..16618667d 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -391,7 +391,7 @@ class fhandler_socket: public fhandler_base
class fhandler_pipe: public fhandler_base
{
HANDLE guard;
- bool saweof;
+ bool broken_pipe;
HANDLE writepipe_exists;
DWORD orig_pid;
unsigned id;
@@ -408,7 +408,7 @@ class fhandler_pipe: public fhandler_base
int dup (fhandler_base *child);
void fixup_after_fork (HANDLE);
bool hit_eof ();
- void set_eof () {saweof = true;}
+ void set_eof () {broken_pipe = true;}
friend int make_pipe (int fildes[2], unsigned int psize, int mode);
HANDLE get_guard () const {return guard;}
};