aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/sigproc.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 896bf61..33cef2e 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 18 01:04:02 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * sigproc.h (sigframe): Don't set frame info unless tid matches this
+ thread id.
+
Wed May 17 23:13:32 2000 Christopher Faylor <cgf@cygnus.com>
* dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h
index 3f713c3..2a55b12 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;