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:
authorCorinna Vinschen <corinna@vinschen.de>2015-12-15 18:00:20 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-06-24 17:02:40 +0300
commit23a556f2c50c00dccec06f11d32eb9ca2d5e22f8 (patch)
treed255ccd3ebd011f89b65c7a141758b1f609cc484 /winsup/cygwin/exceptions.cc
parent8b8c6c014bd9807c248ffe0cb8211e7714cc2241 (diff)
Drop has_set_thread_stack_guarantee flag
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 504fae438..d65f56e3f 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -1581,10 +1581,9 @@ altstack_wrapper (int sig, siginfo_t *siginfo, ucontext_t *sigctx,
/* ...restore guard pages in original stack as if MSVCRT::_resetstkovlw
has been called.
- Compute size of guard pages. If SetThreadStackGuarantee isn't
- supported, or if it returns 0, use the default guard page size. */
- if (wincap.has_set_thread_stack_guarantee ())
- SetThreadStackGuarantee (&guard_size);
+ Compute size of guard pages. If SetThreadStackGuarantee returns 0,
+ use the default guard page size. */
+ SetThreadStackGuarantee (&guard_size);
if (!guard_size)
guard_size = wincap.def_guard_page_size ();
else