Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: abrupt termination infinite loop workaround
- X-seq: zsh-workers 8862
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: abrupt termination infinite loop workaround
- Date: Thu, 2 Dec 1999 15:42:48 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
If you kill zsh while (zleactive), it goes into an infinite loop
trying to unload zle and refusing itself.
This prevents the runaway shells.
--- Src/builtin.c 1999/11/30 06:12:12 1.1.1.40
+++ Src/builtin.c 1999/12/02 20:33:15
@@ -3201,6 +3201,7 @@
if (in_exit++ && from_signal) {
LASTALLOC_RETURN;
}
+ zleactive = 0;
exit_modules();
if (isset(MONITOR)) {
Messages sorted by:
Reverse Date,
Date,
Thread,
Author