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

Re: Bug/misfeature with autoloaded TRAPxxx functions



On Apr 20,  1:09pm, Peter Stephenson wrote:
} Subject: Re: Bug/misfeature with autoloaded TRAPxxx functions
}
} Bart Schaefer wrote:
} > ... autoloaded TRAP functions don't work...
} 
} I don't think this ever got added... It might be as simple as the
} following, which seems to work.

I worry that there's a race condition between setting sigtrapped[signum]
and actually adding the function node.  And what happens if the fucntion
fails to load?  Does sigtrapped[signum] get cleared somewhere else?

Otherwise it looks like the right idea.



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