aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/sigproc.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-05-18 05:05:58 +0000
committerChristopher Faylor <me@cgf.cx>2000-05-18 05:05:58 +0000
commit77303e2d83f810c8332f4a9b891a628d14dc7700 (patch)
tree99bce217c628aafc24afb53a590167c170fa3143 /winsup/cygwin/sigproc.h
parent12e659efa8f172167a526f251e36571f6f976740 (diff)
downloadnewlib-77303e2d83f810c8332f4a9b891a628d14dc7700.zip
newlib-77303e2d83f810c8332f4a9b891a628d14dc7700.tar.gz
newlib-77303e2d83f810c8332f4a9b891a628d14dc7700.tar.bz2
* sigproc.h (sigframe): Don't set frame info unless tid matches this thread id.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r--winsup/cygwin/sigproc.h2
1 files changed, 1 insertions, 1 deletions
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;