Subject: Rsync: found the problem
From: Bill Petheram <[email-masked]>
To: Corinna Vinschen <[email-masked]>, Lapo Luchini <[email-masked]>
Date: Fri, 03 Aug 2001 13:08:26 +0100

What seems to happen is that rsh reads from stdin. rsh sets stdin to be
O_BINARY. However in _read (syscalls.cc) the wait flag is NOT set, so
_read returns -1 and EAGAIN. So stdin for rsh has been set to no delay,
probably by rsync.

What are the rules for inheriting flags and socket options across forks?

bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/