Skip to content
Snippets Groups Projects
Commit 7d12b90d authored by Valentin Volkl's avatar Valentin Volkl
Browse files

replace sys_siglist (deprecated) with strsignal to allow build with newer glibc (> 2.32)

See https://sourceware.org/glibc/wiki/Release/2.32#Deprectation_sys_siglist.2C__sys_siglist.2C_sys_sigabbrev
parent 903647ab
No related branches found
No related tags found
1 merge request!1207replace sys_siglist (deprecated) with strsignal to allow build with newer glibc (> 2.32)
......@@ -18,7 +18,7 @@
#include "GaudiUtils/ISignalMonitor.h"
#include <csignal>
#include <cstring>
#include <iostream>
namespace Gaudi {
......@@ -202,7 +202,7 @@ namespace {
return 0;
}
#else
return sys_siglist[signum];
return strsignal( signum );
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment