Cygwin: FIFO: rename client[] to fc_handler[]
The word "client" suggests something that holds a handle to the client side of the pipe (in Windows terminology). But our fifo_client_handlers hold a handle the server side of the pipe, and they *connect* to clients.
This commit is contained in:
committed by
Corinna Vinschen
parent
1e6c561d48
commit
b63843ed56
@@ -872,7 +872,7 @@ peek_fifo (select_record *s, bool from_select)
|
||||
}
|
||||
|
||||
fh->fifo_client_lock ();
|
||||
for (int i = 0; i < fh->get_nclients (); i++)
|
||||
for (int i = 0; i < fh->get_nhandlers (); i++)
|
||||
if (fh->is_connected (i))
|
||||
{
|
||||
int n = pipe_data_available (s->fd, fh, fh->get_handle (i),
|
||||
|
Reference in New Issue
Block a user