You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-geosciences/gmt/files/gmt-5.4.4-sighandler.patch

15 lines
573 B

https://bugs.gentoo.org/738224
Author: hangglider@gmx.de
--- a/src/common_sighandler.c
+++ b/src/common_sighandler.c
@@ -187,7 +187,7 @@
return;
}
else {
- fprintf (stderr, "ERROR: Caught signal number %d (%s) at\n", sig_num, sys_siglist[sig_num]);
+ fprintf (stderr, "ERROR: Caught signal number %d (%s) at\n", sig_num, strsignal(sig_num));
backtrace_symbols_fd (array, 2, STDERR_FILENO); /* print function with faulting instruction */
size = backtrace (array, 50); /* get void*'s for all entries on the stack */
fprintf (stderr, "Stack backtrace:\n");