Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Product-HA:ppc64le
home:lnussel:droplockdev
minicom
minicom-2.8-replace-sigrelse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File minicom-2.8-replace-sigrelse.patch of Package minicom
diff -Nur minicom-2.8/src/minicom.c new/src/minicom.c --- minicom-2.8/src/minicom.c 2021-01-01 18:45:55.000000000 +0100 +++ new/src/minicom.c 2022-05-23 15:26:20.715784798 +0200 @@ -1544,7 +1544,10 @@ #endif /* On some Linux systems SIGALRM is masked by default. Unmask it */ - sigrelse(SIGALRM); + sigset_t ss; + sigemptyset(&ss); + sigaddset(&ss, SIGALRM); + sigprocmask(SIG_UNBLOCK, &ss, NULL); keyboard(KINSTALL, 0); diff -Nur minicom-2.8/src/script.c new/src/script.c --- minicom-2.8/src/script.c 2021-01-01 18:45:55.000000000 +0100 +++ new/src/script.c 2022-05-23 15:26:56.547959973 +0200 @@ -1092,8 +1092,11 @@ #if 0 /* Shouldn't need this.. */ signal(SIGHUP, SIG_IGN); #endif - /* On some Linux systems SIGALRM is masked by default. Unmask it */ - sigrelse(SIGALRM); + /* On some Linux systems SIGALRM is masked by default. Unmask it */ + sigset_t ss; + sigemptyset(&ss); + sigaddset(&ss, SIGALRM); + sigprocmask(SIG_UNBLOCK, &ss, NULL); /* initialize locale support */ setlocale(LC_ALL, "");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor