This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why does scp leave ssh running? -- select() never returns


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@cygwin.com
Red Hat, Inc.
mailto:vinschen@redhat.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]