oksh-noxz

[fork] Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh).
git clone https://noxz.tech/git/oksh-noxz.git
oksh-noxz

commit: a8c51c0cfc568dae4586513c77487004c7a420db
parent: d4810a4c2a8163a5ae2e2339e40c93064b2a4f79
author: Brian Callahan <bcallah@openbsd.org>
date:   Sat, 31 Oct 2020 20:31:09 -0400
Set up siglist manually if we're on Linux.
Fix #48
Mtrap.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trap.c b/trap.c
@@ -36,7 +36,7 @@ inittraps(void)
 #else
 			sigtraps[i].name = oksh_sig2str(i);
 #endif
-#ifdef HAVE_SIGLIST
+#if defined(HAVE_SIGLIST) && !defined(__linux__)
 			sigtraps[i].mess = sys_siglist[i];
 #else
 			static char *mess[NSIG + 1] = { NULL };