www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/30/10:10:44

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
Message-ID: <3A266CE6.A444EE7F@delcomsys.com>
Date: Thu, 30 Nov 2000 10:06:14 -0500
From: Patrick Doyle <wpd AT delcomsys DOT com>
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en,zh,zh-CN,zh-TW
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Why does scp leave ssh running? -- select() never returns
References: <3A22C383 DOT 5C16BBC8 AT delcomsys DOT com> <3A25C7DA DOT 6F76C8DA AT delcomsys DOT com> <20001129224015 DOT B21867 AT redhat DOT com> <3A266130 DOT F5877EB5 AT delcomsys DOT com> <3A2665B2 DOT 43D8F436 AT redhat DOT com>

Great...I'll give it a try sometime tonight or over the weekend &
hopefully post a patch soon.

--wpd

Corinna Vinschen wrote:
> 
> Patrick Doyle wrote:
> > If that is the case, would anybody mind if I posted a (simple) patch to
> > openSSH code which added a timeout to the call(s) to select()?  If I do
> > that, will the patch be incorporated into the cygwin release of
> > openSSH?  Is there some way to feed that patch back to the openSSH
> > development team?
> 
> I am that way.
> 
> However, your patch should be clean in terms of OS handling.
> 
> I recommend using the already used construct:
> 
> #ifdef HAVE_CYGWIN
>   if (! is_winnt)
>     {
>       ...your w9x specific code...
>     }
> #endif
> 
> The definition of is_winnt is used eg. in `cygwin_utils.c':
> 
> #define is_winnt       (GetVersion() < 0x80000000)
> 
> Corinna
> 
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin AT cygwin DOT com
> Red Hat, Inc.
> mailto:vinschen AT redhat DOT com
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
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