View | Details | Raw Unified | Return to bug 271711 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/sbcl/files/patch-src_runtime_bsd-os.c (+15 lines)
Added Link Here
1
--- src/runtime/bsd-os.c.orig	2023-04-30 08:33:10 UTC
2
+++ src/runtime/bsd-os.c
3
@@ -280,11 +280,7 @@ os_install_interrupt_handlers(void)
4
 os_install_interrupt_handlers(void)
5
 {
6
     if (INSTALL_SIG_MEMORY_FAULT_HANDLER) {
7
-    ll_install_handler(SIG_MEMORY_FAULT,
8
-#if defined(LISP_FEATURE_FREEBSD) && !defined(__GLIBC__)
9
-                                                 (__siginfohandler_t *)
10
-#endif
11
-                                                 memory_fault_handler);
12
+    ll_install_handler(SIG_MEMORY_FAULT, memory_fault_handler);
13
 
14
 #ifdef LISP_FEATURE_DARWIN
15
     /* Unmapped pages get this and not SIGBUS. */

Return to bug 271711