Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-05-18 09:05:58 +0400
committerChristopher Faylor <me@cgf.cx>2000-05-18 09:05:58 +0400
commit77303e2d83f810c8332f4a9b891a628d14dc7700 (patch)
tree99bce217c628aafc24afb53a590167c170fa3143 /winsup/cygwin/sigproc.h
parent12e659efa8f172167a526f251e36571f6f976740 (diff)
* 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 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;