deliberately revert from POSIX to classical behaviour for "…`…\"…\"…`…"

until http://austingroupbugs.net/view.php?id=1015 is resolved (either way),
mksh R52 regression; cf. Debian #810846, #811092
This commit is contained in:
tg 2016-01-19 23:09:48 +00:00
parent 7181c9e40c
commit 44be0bdb0b
1 changed files with 3 additions and 1 deletions

4
lex.c
View File

@ -23,7 +23,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.215 2016/01/14 19:52:20 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.216 2016/01/19 23:09:48 tg Exp $");
/*
* states while lexing word
@ -550,8 +550,10 @@ yylex(int cf)
* undefined results occur.).
*/
statep->ls_bool = false;
#ifdef austingroupbugs1015_is_still_not_resolved
if (Flag(FPOSIX))
break;
#endif
s2 = statep;
base = state_info.base;
while (/* CONSTCOND */ 1) {