* Build.sh, histrap.c: prevent testing of strsignal() if we have sys_siglist[]

* mksh.1: .Nm is never used with "" as argument, fixes GNU groff 1.15
This commit is contained in:
tg
2007-01-17 23:47:15 +00:00
parent 65a2806e81
commit bca0f4d603
3 changed files with 11 additions and 9 deletions

View File

@ -3,7 +3,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.40 2007/01/15 02:48:27 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.41 2007/01/17 23:47:15 tg Exp $");
Trap sigtraps[NSIG + 1];
static struct sigaction Sigact_ign, Sigact_trap;
@ -991,8 +991,6 @@ inittraps(void)
}
#if HAVE_SYS_SIGLIST
sigtraps[i].mess = sys_siglist[i];
#elif HAVE__SYS_SIGLIST
sigtraps[i].mess = _sys_siglist[i];
#elif HAVE_STRSIGNAL
sigtraps[i].mess = strsignal(i);
#else