Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug/misfeature with autoloaded TRAPxxx functions
- X-seq: zsh-workers 19811
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug/misfeature with autoloaded TRAPxxx functions
- Date: Wed, 21 Apr 2004 16:06:33 +0000
- In-reply-to: <13673.1082462972@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <13673.1082462972@xxxxxxx>
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