Projects
home:pandora:RobinOS23
gpm
_service:download_src_package:0026-Update-liblo...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:0026-Update-liblow.c-for-musl-compatible.patch of Package gpm
From afe69339e311a498eba4c978a865839f33b66e7a Mon Sep 17 00:00:00 2001 From: Kurt Nalty <46026992+kurtnalty@users.noreply.github.com> Date: Sat, 29 Dec 2018 23:52:58 -0600 Subject: [PATCH 26/28] Update liblow.c for musl compatible Changed #include <sys/fcntl.h> to #include <fcntl.h> Changed SA_NOMASK to SA_NODEFER on lines 176, 367 --- src/lib/liblow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/liblow.c b/src/lib/liblow.c index e789d09..8d6ba34 100644 --- a/src/lib/liblow.c +++ b/src/lib/liblow.c @@ -33,7 +33,7 @@ #include <sys/types.h> /* socket() */ #include <sys/socket.h> /* socket() */ #include <sys/un.h> /* struct sockaddr_un */ -#include <sys/fcntl.h> /* O_RDONLY */ +#include <fcntl.h> /* O_RDONLY */ #include <sys/stat.h> /* stat() */ #ifdef SIGTSTP /* true if BSD system */ @@ -173,7 +173,7 @@ static void gpm_suspend_hook (int signum) /* Reincarnation. Prepare for another death early. */ sigemptyset(&sa.sa_mask); sa.sa_handler = gpm_suspend_hook; - sa.sa_flags = SA_NOMASK; + sa.sa_flags = SA_NODEFER; sigaction (SIGTSTP, &sa, 0); /* Pop the gpm stack by closing the useless connection */ @@ -364,7 +364,7 @@ int Gpm_Open(Gpm_Connect *conn, int flag) /* if signal was originally ignored, job control is not supported */ if (gpm_saved_suspend_hook.sa_handler != SIG_IGN) { - sa.sa_flags = SA_NOMASK; + sa.sa_flags = SA_NODEFER; sa.sa_handler = gpm_suspend_hook; sigaction(SIGTSTP, &sa, 0); } -- 2.19.1.6.gb485710b
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