diff options
author | Christopher Faylor <me@cgf.cx> | 2004-01-03 20:57:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-01-03 20:57:11 +0000 |
commit | 0efff769fde31941788e77bdeac1d7fdd2e19088 (patch) | |
tree | 24978f13cedccf63e22bba3e434a2a120c5853d0 /winsup/cygwin/exceptions.cc | |
parent | c0bece84cd749390b92c49c9c44dc8606f03e809 (diff) | |
download | newlib-0efff769fde31941788e77bdeac1d7fdd2e19088.zip newlib-0efff769fde31941788e77bdeac1d7fdd2e19088.tar.gz newlib-0efff769fde31941788e77bdeac1d7fdd2e19088.tar.bz2 |
* exceptions.cc (_threadinfo::interrupt_now): Avoid double call to sigdelayed.
* pinfo.cc (_pinfo::commune_send): Avoid inexplicable test which caused most
pids to be shown as "<defunct>" on Win9x.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 9795530..669b516 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -675,7 +675,7 @@ _threadinfo::interrupt_now (CONTEXT *ctx, int sig, void *handler, { push (0); interrupt_setup (sig, handler, siga, (__stack_t) ctx->Eip); - ctx->Eip = (DWORD) sigdelayed; + ctx->Eip = pop (); SetThreadContext (*this, ctx); /* Restart the thread in a new location */ return 1; } @@ -1133,7 +1133,6 @@ call_signal_handler_now () return sa_flags & SA_RESTART; } -#define pid_offset (unsigned)(((_pinfo *)NULL)->pid) void __stdcall reset_signal_arrived () { |