From 67a28c4c3f8cb4588b7f173737f81e008fa4ab68 Mon Sep 17 00:00:00 2001 From: tg Date: Tue, 27 Feb 2007 15:03:28 +0000 Subject: [PATCH] typo, prevents compilation under Interix (has _sys_signame[] array) --- histrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/histrap.c b/histrap.c index b6e7d03..c7b11ef 100644 --- a/histrap.c +++ b/histrap.c @@ -3,7 +3,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.41 2007/01/17 23:47:15 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.42 2007/02/27 15:03:28 tg Exp $"); Trap sigtraps[NSIG + 1]; static struct sigaction Sigact_ign, Sigact_trap; @@ -969,7 +969,7 @@ inittraps(void) sigtraps[i].name = "ERR"; sigtraps[i].mess = "Error handler"; } else { -#if HAVE_SYS_SIGNAME || HAVE_SYS_SIGNAME +#if HAVE_SYS_SIGNAME || HAVE__SYS_SIGNAME cs = sys_signame[i]; #else const struct mksh_sigpair *pair = mksh_sigpairs;