On Mon 22 Jan 2018, Kevin Korb via rsync wrote:

> From man 2 select:
> int select(int nfds, fd_set *readfds, fd_set *writefds,
> fd_set *exceptfds, struct timeval *timeout);
> 
> So, it is waiting for file descriptor #1 to become available with a 60
> second timeout which it is hitting.

Actually:

> > select(1, [0], [], NULL, {60, 0})

... it's waiting for file descriptor 0 to become readable.
The 1st argument 1 is "the highest-numbered file descriptor in any of
the three sets, plus 1".


Paul

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to