libsigsegv/configure.patch
Petr Šabata 8d2131e8fc RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/libsigsegv#2c220a2759c295e79ddba9bc03aefd90675f7fb3
2020-10-15 17:34:00 +02:00

13 lines
393 B
Diff

diff -Nrup a/m4/fault.m4 b/m4/fault.m4
--- a/m4/fault.m4 2014-01-02 15:26:46.000000000 -0700
+++ b/m4/fault.m4 2020-01-17 15:40:41.420148995 -0700
@@ -49,7 +49,7 @@ static int zero_fd;
# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
#endif
unsigned long page;
-int handler_called = 0;
+volatile int handler_called = 0;
void sigsegv_handler ($5)
{
void *fault_address = (void *) ($6);