From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8971 invoked from network); 29 Apr 2000 04:42:47 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Apr 2000 04:42:47 -0000 Received: (qmail 27569 invoked by alias); 29 Apr 2000 04:42:31 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3050 Received: (qmail 27547 invoked from network); 29 Apr 2000 04:42:30 -0000 From: "Bart Schaefer" Message-Id: <1000429044220.ZM30544@candle.brasslantern.com> Date: Sat, 29 Apr 2000 04:42:20 +0000 In-Reply-To: <20000428161546.A8208@tdc134.comm.mot.com> Comments: In reply to Paul Ackersviller "localtraps causing core dump in 3.1.6+" (Apr 28, 4:15pm) References: <20000428161546.A8208@tdc134.comm.mot.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Paul Ackersviller , Zsh users list Subject: Re: localtraps causing core dump in 3.1.6+ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 28, 4:15pm, Paul Ackersviller wrote: } Subject: localtraps causing core dump in 3.1.6+ } } I guess it's intentional now that all tests which fail in chpwd() cause } TRAPZERR() to be executed. Why do you guess that? It's certainly a surprise to me. Could you give a more specific example of what you mean, though? TRAPZERR() is called any time any command exits with a nonzero status, in chpwd or anywhere else, and as far as I can tell it always has (by coincidence, I rebuilt zsh-2.4.306 yesterday, and TRAPZERR seems to behave the same there as in 3.0.6 and 3.1.7-pre-1). } I recently started doing `setopt localtraps && unset -f TRAPZERR' } because of some changes that took place for 3.1.7-pre-1. } } However that led me to try the above, which dumps core } on both 3.1.7-pre-1 and 3.1.6 when changing directory. There is a bug in unsetting TRAPxxx (as opposed to resetting them to something else) when localtraps is set. You might try `trap - ZERR' or `disable -f TRAPZERR' instead for now. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com