0e478dceae027a466e8e427fdc156e6725e557f3
‣ 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 ☻
Description
MirBSD Korn Shell for Jehanne
Languages
C
57.6%
Shell
26%
Roff
13.3%
Perl
2.6%
Makefile
0.5%