zsh-workers
 help / color / mirror / code / Atom feed
* Bug/misfeature with autoloaded TRAPxxx functions
@ 2004-04-13  5:15 Bart Schaefer
  2004-04-20 12:09 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2004-04-13  5:15 UTC (permalink / raw)
  To: zsh-workers

zagzig% echo $ZSH_VERSION
4.2.0-dev-1
zagzig% print $-
569XZfims
zagzig% autoload TRAPALRM
zagzig% functions
TRAPALRM () {
        # undefined
        builtin autoload -X
}
zagzig% unfunction TRAPALRM
unfunction: no such hash table element: TRAPALRM
zagzig% functions
TRAPALRM () {
        # undefined
        builtin autoload -X
}
zagzig% trap
zagzig% 


It's impossible to delete TRAPALRM without first defining it.  Also, no
attempt to autoload the function is made when the ALRM signal arrives:

zagzig% kill -ALRM $$
zsh: timeout

(The shell has now exited.)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-21 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-13  5:15 Bug/misfeature with autoloaded TRAPxxx functions Bart Schaefer
2004-04-20 12:09 ` Peter Stephenson
2004-04-21 16:06   ` Bart Schaefer
2004-04-21 17:49     ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).