Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
31
Issues
31
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
619b6f94
Commit
619b6f94
authored
Jun 13, 2022
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing deprecated sys_siglist since GCC10
parent
3c9b25b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
extest.c
liblinux/extest/extest.c
+4
-0
No files found.
liblinux/extest/extest.c
View file @
619b6f94
...
...
@@ -84,7 +84,11 @@ static void sighandler(int sig)
* we use sys_siglist[] instead of strsignal() to stay compatible
* with old versions of glibc
*/
#if _POSIX_C_SOURCE >= 200809L
printf
(
"
\n
EXIT: Signal %s received
\n
"
,
strsignal
(
sig
));
#else
printf
(
"
\n
EXIT: Signal %s received
\n
"
,
sys_siglist
[
sig
]);
#endif
free
(
_cmdlist
);
if
(
user_sig_hndl
)
user_sig_hndl
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment