Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 3 Aug 2001 19:07:41 +0200 From: Corinna Vinschen To: cygwin Subject: Re: Rsync: found the problem Message-ID: <20010803190741.Z23782@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <610A1F4808E9D411888F0001023F6361A2EC AT MUCX> <3B46E116 DOT 20508 DOT C8E5ACB AT localhost> <20010707095422 DOT C7298 AT redhat DOT com> <3B499BF7 DOT 6D8FCABC AT hplb DOT hpl DOT hp DOT com> <20010709222226 DOT A16128 AT cygbert DOT vinschen DOT de> <3B6960FA DOT 8099DD72 AT hplb DOT hpl DOT hp DOT com> <3B6A943A DOT 10E925C8 AT hplb DOT hpl DOT hp DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B6A943A.10E925C8@hplb.hpl.hp.com>; from bilpet@hplb.hpl.hp.com on Fri, Aug 03, 2001 at 01:08:26PM +0100 On Fri, Aug 03, 2001 at 01:08:26PM +0100, Bill Petheram wrote: > > 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? sockets are copied across forks using a Winsock2 copy mechanism WSADuplicateSocket WSASocket Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/