mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Update i_system.c
removed CRASHLOG_STDERR_WRITE
This commit is contained in:
parent
17c62d2ca6
commit
5e2311c48d
1 changed files with 0 additions and 8 deletions
|
@ -339,14 +339,6 @@ static void write_backtrace(INT32 signal)
|
|||
bt_size = backtrace(funcptrs, BT_SIZE);
|
||||
backtrace_symbols_fd(funcptrs, bt_size, fd);
|
||||
backtrace_symbols_fd(funcptrs, bt_size, STDERR_FILENO);
|
||||
#ifndef NOEXECINFO
|
||||
CRASHLOG_STDERR_WRITE("\nBacktrace:\n");
|
||||
|
||||
// Flood the output and log with the backtrace
|
||||
size = backtrace(array, BT_SIZE);
|
||||
backtrace_symbols_fd(array, size, fd);
|
||||
backtrace_symbols_fd(array, size, STDERR_FILENO);
|
||||
#endif
|
||||
|
||||
bt_write_file(fd, "\n"); // Write another newline to the log so it looks nice :)
|
||||
if (fd != -1) {
|
||||
|
|
Loading…
Reference in a new issue