sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-08 05:21:37 +00:00
parent ec769495ab
commit f5034afcba
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
3108 changed files with 91999 additions and 80269 deletions

View file

@ -0,0 +1,12 @@
Index: src/handler-unix.c
--- src/handler-unix.c.orig
+++ src/handler-unix.c
@@ -382,7 +382,7 @@ install_for (int sig)
struct sigaction action;
#ifdef SIGSEGV_FAULT_ADDRESS_FROM_SIGINFO
- action.sa_sigaction = &sigsegv_handler;
+ action.sa_sigaction = (void (*) (int, siginfo_t *, void *)) &sigsegv_handler;
#else
action.sa_handler = (void (*) (int)) &sigsegv_handler;
#endif