Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks



On Sat, 28 Jan 2017, Bart Schaefer wrote:

> ... back to deciding whether each individual use of PAT_STATIC is safe
> WRT signals and hooks.

Crimony, it looks like pretty much all of compctl.c is signal-UNsafe.

All the functions are static[*] except for the zmodload entry points.
Would it be asking for trouble to wrap all the builtin and widget
implementations of compctl in queue_signals()/unqueue_signals()?


[*] Or could be but for no apparent reason are not.



Messages sorted by: Reverse Date, Date, Thread, Author