Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: It seems that I find a zle -F full CPU bug
On Jul 16, 2:55pm, Nick Cross wrote:
} Subject: Re: It seems that I find a zle -F full CPU bug
}
} Using Fedora 5.0.5 and similar background code from Bart
} (http://www.zsh.org/mla/users/2014/msg00448.html) I can see the same
} POLLNVAL high CPU from strace.
}
} Is there any suitable workaround for 5.0.5 ?
Unfortunately I don't think there's any shell-language-level workaround.
You could try fiddling with the order in which the zle -F handlers are
removed and skip closing the descriptor in update_super_status, but it
will become complicated to keep track of the un-closed descriptors in
order to avoid leaking (i.e., never closing) them.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author