tg 0e478dceae tentatively fix Debian #878947 by putting an end to (some) nesting
‣ also makes the error message nicer:
tg@blau:/usr/obj/bin/mksh $ mksh -n -c '${0$(($(o[))&$(($(p[))&)'
internal error: can't allocate 8388628 data bytes
tg@blau:/usr/obj/bin/mksh $ mksh -n -c '${0$(($(o[))&$(($(p[))&)^J'
mksh: no closing quote
1|tg@blau:/usr/obj/bin/mksh $ ./mksh -n -c '${0$(($(o[))&$(($(p[))&)'
./mksh: syntax error: unmatched '('
1|tg@blau:/usr/obj/bin/mksh $ ./mksh -n -c '${0$(($(o[))&$(($(p[))&)^J'
./mksh: syntax error: unmatched '('

‣ alternative fix would be to keep the block and do…
-					} else {
+					} else if (source->type != SEOF) {
… but that would keep “no closing quote” for the case with newline,
and since this seems to not break… nuking unused code is always good ☻
2017-10-17 23:45:19 +00:00
2017-08-08 21:10:21 +00:00
2017-05-05 22:53:32 +00:00
2017-08-07 23:25:09 +00:00
2015-11-29 17:05:02 +00:00
2017-10-15 20:21:51 +00:00
2015-12-12 21:08:44 +00:00
2015-11-29 17:05:02 +00:00
2017-05-05 22:53:32 +00:00
2017-05-05 22:53:32 +00:00
Description
MirBSD Korn Shell for Jehanne
6.7 MiB
Languages
C 57.6%
Shell 26%
Roff 13.3%
Perl 2.6%
Makefile 0.5%