Removed deprecated rak errno and file headers.

This commit is contained in:
Jari Sundell
2026-01-03 19:22:02 +01:00
committed by GitHub
parent 110591d5c1
commit a8b6a47054
14 changed files with 38 additions and 331 deletions
+1 -2
View File
@@ -13,7 +13,6 @@
#include <torrent/net/fd.h>
#include <torrent/utils/chrono.h>
#include <torrent/utils/log.h>
#include <rak/error_number.h>
#ifdef HAVE_BACKTRACE
#include <execinfo.h>
@@ -564,7 +563,7 @@ handle_sigbus(int signum, siginfo_t* sa, [[maybe_unused]] void* ptr) {
#else
output << "Stack dump not enabled." << std::endl;
#endif
output << std::endl << "Error: " << rak::error_number(sa->si_errno).c_str() << std::endl;
output << std::endl << "Error: " << std::strerror(sa->si_errno) << std::endl;
const char* signal_reason;