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

4
lex.c
View File

@ -23,7 +23,7 @@
#include "sh.h" #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 * states while lexing word
@ -550,8 +550,10 @@ yylex(int cf)
* undefined results occur.). * undefined results occur.).
*/ */
statep->ls_bool = false; statep->ls_bool = false;
#ifdef austingroupbugs1015_is_still_not_resolved
if (Flag(FPOSIX)) if (Flag(FPOSIX))
break; break;
#endif
s2 = statep; s2 = statep;
base = state_info.base; base = state_info.base;
while (/* CONSTCOND */ 1) { while (/* CONSTCOND */ 1) {