delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/12/30/19:01:40

From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen)
Subject: Re: Final winsup snapshot for 1998
30 Dec 1998 19:01:40 -0800 :
Message-ID: <368AE3A2.E3DB51B3.cygnus.cygwin32.developers@cityweb.de>
References: <19981230003552 DOT 62971 AT cygnus DOT com>
Mime-Version: 1.0
To: Christopher Faylor <cgf AT cygnus DOT com>, cygwin32-developers AT cygnus DOT com

Thanks Chris,

this works.

Bye,
Corinna

Christopher Faylor wrote:
> 
> On Thu, Dec 31, 1998 at 01:21:46AM +0100, Corinna Vinschen wrote:
> >Hi,
> >
> >Unfortunately, it's impossible, to logon to the cygwin environment
> >via telnet with this new snapshot. in.telnetd breaks the connection
> >immediately.
> >
> >Bye and a happy new year,
> 
> Sigh.  Yup.  I thought of this problem as I was driving somewhere
> today.
> 
> If I took more trips we'd probably have bug-free code.
> 
> Hopefully this should fix it.
> 
> -chris
> 
> Index: dcrt0.cc
> ===================================================================
> RCS file: /cvs/cvsfiles/devo/winsup/dcrt0.cc,v
> retrieving revision 1.129
> diff -u -p -r1.129 dcrt0.cc
> --- dcrt0.cc    1998/12/30 06:37:27     1.129
> +++ dcrt0.cc    1998/12/31 02:12:15
> @@ -795,9 +795,6 @@ do_exit (int status)
> 
>    sigproc_terminate ();
> 
> -  /* Set this so that subsequent tests will succeed. */
> -  myself->dwProcessId = GetCurrentProcessId ();
> -
>    if (n & EXIT_REPARENTING)
>      {
>        n &= ~EXIT_REPARENTING;
> Index: sigproc.cc
> ===================================================================
> RCS file: /cvs/cvsfiles/devo/winsup/sigproc.cc,v
> retrieving revision 1.35
> diff -u -p -r1.35 sigproc.cc
> --- sigproc.cc  1998/12/30 06:37:27     1.35
> +++ sigproc.cc  1998/12/31 02:12:15
> @@ -679,6 +679,10 @@ sigproc_terminate (void)
>        sip_printf ("done");
>      }
> 
> +  /* Set this so that subsequent tests will succeed. */
> +  if (!myself->dwProcessId)
> +    myself->dwProcessId = GetCurrentProcessId ();
> +
>    return;
>  }
>

- Raw text -


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