SUSv4 says trap foo UNKNOWN is not a syntax error, merely exit ≠0.

Inspired by 673dab8698b0399c967216c02262eaf95361a75c.
This commit is contained in:
tg
2011-01-30 01:36:00 +00:00
parent bdfcdc56c8
commit 30d8e3934d
3 changed files with 34 additions and 14 deletions

4
sh.h
View File

@@ -154,9 +154,9 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.425 2011/01/30 01:35:35 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.426 2011/01/30 01:36:00 tg Exp $");
#endif
#define MKSH_VERSION "R39 2011/01/22"
#define MKSH_VERSION "R39 2011/01/29"
#ifndef MKSH_INCLUDES_ONLY