fix set -e with and/or inside functions regression (LP#1104543)

cause was that use of && or || inside function switched it to xerrok
This commit is contained in:
tg
2013-02-10 23:59:28 +00:00
parent 63cf38eca7
commit fb370a30c6
3 changed files with 22 additions and 8 deletions

4
sh.h
View File

@@ -164,9 +164,9 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.633 2013/02/10 21:17:07 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.634 2013/02/10 23:59:28 tg Exp $");
#endif
#define MKSH_VERSION "R41 2013/01/19"
#define MKSH_VERSION "R42 2013/02/10"
/* arithmetic types: C implementation */
#if !HAVE_CAN_INTTYPES