* 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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user