3 ms·
On this same topic, see this amusing comment in the middle of Bash: http://git.savannah.gnu.org/cgit/bash.git/tree/unwind_prot.c http://git.savannah.gnu.org/cg
by kazinator 10y ago
On this same topic, see this amusing comment in the middle of Bash:
http://git.savannah.gnu.org/cgit/bash.git/tree/unwind_prot.c http://git.savannah.gnu.org/cgit/bash.git/tree/unwind_prot.c
Firstly, the non-local jumps that handle Ctrl-C in Bash and whatnot are referred to using the "unwind protect". Then see the comment in that file:
/* I can't stand it anymore! Please can't we just write the
whole Unix system in lisp or something? */
:)