delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/29/22:41:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 29 Nov 2000 22:40:15 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Why does scp leave ssh running? -- select() never returns
Message-ID: <20001129224015.B21867@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <3A22C383 DOT 5C16BBC8 AT delcomsys DOT com> <3A25C7DA DOT 6F76C8DA AT delcomsys DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A25C7DA.6F76C8DA@delcomsys.com>; from wpd@delcomsys.com on Wed, Nov 29, 2000 at 10:22:03PM -0500

On Wed, Nov 29, 2000 at 10:22:03PM -0500, Patrick Doyle wrote:
>So, a few questions...
>1) Is this behavior (of PeekNamedPipe()) a W9x bug?  (That is, does it
>work correctly on NT/2K?)

I think you are correct.  It is a w9x bug.  I vaguely recall seeing this
before.

I can't think of any way to work around this, unfortunately.  I remember trying
things like zero byte reads on the pipe but they didn't do anything.

The only way to trigger the EOF is to actually read from the pipe.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019