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/games-board/xgammon/files/xgammon-0.98-glibc-2.32.patch

20 lines
440 B

--- a/save.c
+++ b/save.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <signal.h>
#include <X11/Intrinsic.h>
@@ -142,7 +143,7 @@
fclose(save_file);
#ifndef AIX
- fprintf (stderr, "xgammon: %s. Sorry and bye!\n", sys_siglist[n]);
+ fprintf (stderr, "xgammon: %s. Sorry and bye!\n", strsignal(n));
#else
fprintf (stderr, "xgammon: Caught signal %d. Sorry and bye!\n", n);
#endif