• fixup here document expansion (regression wrt. pdksh 5.2.14)

• adjust testsuite (and write tons of new tests) after today’s commits
This commit is contained in:
tg
2015-02-19 22:26:50 +00:00
parent be1a0e3282
commit 73082b9292
4 changed files with 99 additions and 18 deletions

5
sh.h
View File

@@ -169,9 +169,9 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.711 2015/02/13 12:51:33 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.712 2015/02/19 22:26:50 tg Exp $");
#endif
#define MKSH_VERSION "R50 2015/02/13"
#define MKSH_VERSION "R50 2015/02/19"
/* arithmetic types: C implementation */
#if !HAVE_CAN_INTTYPES
@@ -1402,6 +1402,7 @@ struct ioword {
#define DOMARKDIRS BIT(10) /* force markdirs behaviour */
#define DOTCOMEXEC BIT(11) /* not an eval flag, used by sh -c hack */
#define DOSCALAR BIT(12) /* change field handling to non-list context */
#define DOHEREDOC BIT(13) /* change scalar handling to heredoc body */
#define X_EXTRA 20 /* this many extra bytes in X string */