1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00
nixpkgs/pkgs/development/libraries/libsigsegv/sigbus_fix.patch

9 lines
401 B
Diff
Raw Normal View History

--- a/src/signals.h 2017-08-23 14:07:05.000000000 +0100
+++ b/src/signals.h 2017-08-23 14:06:53.000000000 +0100
@@ -18,4 +18,4 @@
/* List of signals that are sent when an invalid virtual memory address
is accessed, or when the stack overflows. */
#define SIGSEGV_FOR_ALL_SIGNALS(var,body) \
- { int var; var = SIGSEGV; { body } }
+ { int var; var = SIGSEGV; { body } var = SIGBUS; { body } }