From 77303e2d83f810c8332f4a9b891a628d14dc7700 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 18 May 2000 05:05:58 +0000 Subject: [PATCH] * sigproc.h (sigframe): Don't set frame info unless tid matches this thread id. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/sigproc.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 896bf613e..33cef2ecf 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Thu May 18 01:04:02 2000 Christopher Faylor + + * sigproc.h (sigframe): Don't set frame info unless tid matches this + thread id. + Wed May 17 23:13:32 2000 Christopher Faylor * dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 3f713c348..2a55b12f7 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -65,7 +65,7 @@ public: sigframe () {st = NULL;} sigframe (sigthread &t, int up = 1) { - if (!t.frame || t.id == GetCurrentThreadId ()) + if (!t.frame && t.id == GetCurrentThreadId ()) set (t, up); else st = NULL;