--- gforth/Attic/strsignal.c 1995/11/07 18:07:01 1.3 +++ gforth/Attic/strsignal.c 1995/12/23 16:22:00 1.4 @@ -20,11 +20,17 @@ */ #include +#include + char *strsignal(int sig) { - /* !! use sys_siglist; how do I find out how many sigs there are? */ - static char errbuf[50]; + static char errbuf[16]; + +#if defined(HAVE_SYS_SIGLIST) && defined(NSIG) + if (sig>0 && sig