Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug/misfeature with autoloaded TRAPxxx functions
- X-seq: zsh-workers 19764
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Bug/misfeature with autoloaded TRAPxxx functions
- Date: Tue, 13 Apr 2004 05:15:24 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author