fix another errexit bug: unwind() is __dead, so the pseudo-signal was never

delivered to the process
• regression test by Clint Pachl, verified against Debian ksh93 by me
• place to fix it in the code discovered by Otto Moerbeek
This commit is contained in:
tg
2007-07-24 11:22:04 +00:00
parent f2a52c65fa
commit e37577de42
3 changed files with 23 additions and 6 deletions

4
sh.h
View File

@ -8,8 +8,8 @@
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.162 2007/07/23 14:28:52 tg Exp $"
#define MKSH_VERSION "R30 2007/07/23"
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.163 2007/07/24 11:22:04 tg Exp $"
#define MKSH_VERSION "R30 2007/07/24"
#if HAVE_SYS_PARAM_H
#include <sys/param.h>