diy/diy-glibc2.34-drop-SIGSTKSZ.patch

23 lines
874 B
Diff
Raw Normal View History

Index: diy-3.5.0/tests/catch.hpp
===================================================================
--- diy-3.5.0.orig/tests/catch.hpp
+++ diy-3.5.0/tests/catch.hpp
@@ -7252,7 +7252,7 @@ namespace Catch {
isSet = true;
stack_t sigStack;
sigStack.ss_sp = altStackMem;
- sigStack.ss_size = SIGSTKSZ;
+ sigStack.ss_size = 32768;
sigStack.ss_flags = 0;
sigaltstack(&sigStack, &oldSigStack);
struct sigaction sa = { };
@@ -7283,7 +7283,7 @@ namespace Catch {
bool FatalConditionHandler::isSet = false;
struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
stack_t FatalConditionHandler::oldSigStack = {};
- char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
+ char FatalConditionHandler::altStackMem[32768] = {};
} // namespace Catch