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

Re: [arnova@xxxxxxxxx: Bug#293364: Bug in ZSH (zshell) using Debian-testing (Sarge)]



Clint Adams wrote:
>  When I exit a zshell (for example when exiting from su) zshell segfaults 
>  when:
>  - /usr/share/zsh/functions/TRAPEXIT exists and is executable
>  - And the function is loaded (for example from /etc/zsh/zshrc with 
>  "autoload ${^/usr/share/zsh/functions}/*(.xN:t)" )
> 
>  I am using Debian GNU/Linux 3.2 (testing/sarge)

I remember not being satisfied with the results of the first round of
fixing autoloaded traps, so I'm not surprises something still needs
fixing.  It was quite low priority, since it's not the natural way to
use a trap, anything to do with traps is complicated, and anything to do
with autoloaded traps doubly so, so I left it.  I'll try and look it
over the next few days.

If we'd never had function-style traps in the first place this wouldn't
have happened...

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



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