mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid when
detecting if we should actually handle CTRL-C.
This commit is contained in:
parent
186f78be19
commit
d7c16d8da3
@ -1,3 +1,8 @@
|
||||
2002-01-20 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid
|
||||
when detecting if we should actually handle CTRL-C.
|
||||
|
||||
2002-01-19 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* Makefile.in (new-cygwin1.dll): Revert previous change. libsupc++.a
|
||||
|
@ -923,7 +923,7 @@ ctrl_c_handler (DWORD type)
|
||||
|
||||
/* We're only the process group leader when we have a valid pinfo structure.
|
||||
If we don't have one, then the parent "stub" will handle the signal. */
|
||||
if (!pinfo (GetCurrentProcessId ()))
|
||||
if (!pinfo (cygwin_pid (GetCurrentProcessId ())))
|
||||
return TRUE;
|
||||
|
||||
tty_min *t = cygwin_shared->tty.get_tty (myself->ctty);
|
||||
|
Loading…
x
Reference in New Issue
Block a user