Projects
Eulaceura:Factory
libsigsegv
_service:obs_scm:libsigsegv-2.14-lto.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:libsigsegv-2.14-lto.patch of Package libsigsegv
From bfa4d54ddbd8caabbe2e9a943395905e40f45f00 Mon Sep 17 00:00:00 2001 From: Bruno Haible <bruno@clisp.org> Date: Thu, 29 Jun 2023 11:24:26 +0200 Subject: Make the autoconf tests more robust. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Triggered by https://gitlab.com/redhat/centos-stream/rpms/libsigsegv/-/blob/c9s/configure.patch from Petr Šabata <contyk@redhat.com>. * m4/fault.m4 (SV_TRY_FAULT): Mark the variables that are accessed by the signal handler as 'volatile'. --- m4/fault.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'm4/fault.m4') diff --git a/m4/fault.m4 b/m4/fault.m4 index 13afff0..335d5e2 100644 --- a/m4/fault.m4 +++ b/m4/fault.m4 @@ -1,5 +1,5 @@ -# fault.m4 serial 9 (libsigsegv-2.12) -dnl Copyright (C) 2002-2003, 2011, 2017 Bruno Haible <bruno@clisp.org> +# fault.m4 serial 10 (libsigsegv-2.15) +dnl Copyright (C) 2002-2003, 2011, 2017, 2023 Bruno Haible <bruno@clisp.org> dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program @@ -52,8 +52,8 @@ static int zero_fd; #else # define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL #endif -unsigned long page; -int handler_called = 0; +unsigned long volatile page; +int volatile handler_called = 0; void sigsegv_handler ($5) { void *fault_address = (void *) ($6); -- cgit v1.2.3-70-g09d2
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2