aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler_fifo.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-02-23 14:47:45 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-02-23 14:47:45 +0000
commit9fa43ff6c61626df04f9b87c09f5233ba07a608d (patch)
tree24a015bb9280ae1696c51d6ad6c3b99ddea4c7ba /winsup/cygwin/fhandler_fifo.cc
parent296a8a63696031fd4cf7fa9ba74e905e00c56d2d (diff)
downloadnewlib-9fa43ff6c61626df04f9b87c09f5233ba07a608d.zip
newlib-9fa43ff6c61626df04f9b87c09f5233ba07a608d.tar.gz
newlib-9fa43ff6c61626df04f9b87c09f5233ba07a608d.tar.bz2
* fhandler.h (class fhandler_pipe): Remove members writepipe_exists,
orig_pid and id. Make hit_eof inline. * fhandler_fifo.cc (fhandler_fifo::open): Drop handling of writepipe_exists, orig_pid and id. * pipe.cc: Ditto throughout. (pipecount): Remove. (pipeid_fmt): Remove. (fhandler_pipe::hit_eof): Simplify. Move to fhandler.h. (fhandler_pipe::dup): Drop leave label. (fhandler_pipe::create): Drop has_unreliable_pipes case. * wincap.cc: Remove has_unreliable_pipes throughout. * wincap.h: Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_fifo.cc')
-rw-r--r--winsup/cygwin/fhandler_fifo.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_fifo.cc b/winsup/cygwin/fhandler_fifo.cc
index aa63152..8f5e793 100644
--- a/winsup/cygwin/fhandler_fifo.cc
+++ b/winsup/cygwin/fhandler_fifo.cc
@@ -203,9 +203,6 @@ fhandler_fifo::open (int flags, mode_t)
set_output_handle (fhs[1]->get_handle ());
guard = fhs[0]->guard;
read_state = fhs[0]->read_state;
- writepipe_exists = fhs[1]->writepipe_exists;
- orig_pid = fhs[0]->orig_pid;
- id = fhs[0]->id;
delete (fhs[0]);
delete (fhs[1]);
set_use (1);