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:
Ken Brown
2019-04-14 19:15:56 +00:00
committed by Corinna Vinschen
parent 1e6c561d48
commit b63843ed56
3 changed files with 59 additions and 59 deletions

View File

@@ -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),