diff options
author | Christopher Faylor <me@cgf.cx> | 2006-02-28 20:02:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-02-28 20:02:16 +0000 |
commit | d405630e71d146d12c2cc83cd254a74ec2dcbd78 (patch) | |
tree | 99a4cd8f368c0c90444cdeb37aeacf67a3c96502 /winsup/cygwin | |
parent | 6fb7c8ae785aa8982c4e7e6621af2390d82b9839 (diff) | |
download | cygnal-d405630e71d146d12c2cc83cd254a74ec2dcbd78.tar.gz cygnal-d405630e71d146d12c2cc83cd254a74ec2dcbd78.tar.bz2 cygnal-d405630e71d146d12c2cc83cd254a74ec2dcbd78.zip |
* exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check since
some cygwin functions are meant to be interrupted.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index cd8c70247..cf4994865 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-02-28 Christopher Faylor <cgf@timesys.com> + + * exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check + since some cygwin functions are meant to be interrupted. + 2006-02-28 Corinna Vinschen <corinna@vinschen.de> * cygwin.din: Export __isinff, __isinfd, __isnanf, __isnand. diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 5e6a217a0..587001e7a 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -309,7 +309,7 @@ inside_kernel (CONTEXT *cx) /* Apparently Windows 95 can sometimes return bogus addresses from GetThreadContext. These resolve to a strange allocation base. These should *never* be treated as interruptible. */ - if (!h || m.State != MEM_COMMIT || h == cygwin_hmodule) + if (!h || m.State != MEM_COMMIT) res = true; else if (h == user_data->hmodule) res = false; |