Update i_system.c

removed CRASHLOG_STDERR_WRITE
This commit is contained in:
Logan Aerl Arias 2024-01-02 22:03:51 -05:00
parent 17c62d2ca6
commit 5e2311c48d

View file

@ -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) {