You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-shells/heirloom-sh/files/heirloom-sh-glibc-2.34.patch

19 lines
354 B

--- a/fault.c
+++ b/fault.c
@@ -43,6 +43,15 @@
#include <errno.h>
#include <string.h>
+#if __GLIBC__ >= 2
+# undef SIGSTKSZ
+# if defined __ia64__
+# define SIGSTKSZ 262144
+# else
+# define SIGSTKSZ 65536
+# endif
+#endif
+
static void (*psig0_func)() = SIG_ERR; /* previous signal handler for signal 0 */
static char sigsegv_stack[SIGSTKSZ];