Cygwin: FIFO: code simplification: don't overload get_handle

Rename fhandler_fifo::get_handle(int) to get_fc_handle(int), and
remove fhandler_fifo::get_handle(void).
This commit is contained in:
Ken Brown
2019-04-14 19:16:00 +00:00
committed by Corinna Vinschen
parent 10bf30bebf
commit d243b3c70e
2 changed files with 5 additions and 4 deletions

View File

@@ -875,7 +875,7 @@ peek_fifo (select_record *s, bool from_select)
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),
int n = pipe_data_available (s->fd, fh, fh->get_fc_handle (i),
false);
if (n > 0)
{