From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16502 invoked from network); 2 Oct 2001 15:19:17 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Oct 2001 15:19:17 -0000 Received: (qmail 19057 invoked by alias); 2 Oct 2001 15:19:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15926 Received: (qmail 19038 invoked from network); 2 Oct 2001 15:19:09 -0000 From: Bart Schaefer Message-Id: <1011002151901.ZM24646@candle.brasslantern.com> Date: Tue, 2 Oct 2001 15:19:01 +0000 In-Reply-To: <23405.1002033550@csr.com> Comments: In reply to Peter Stephenson "Re: PATCH: test for trap EXIT fix." (Oct 2, 3:39pm) References: <23405.1002033550@csr.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: test for trap EXIT fix. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 2, 3:39pm, Peter Stephenson wrote: } } We may be able to do some special tricks with `exiting' at the end of } execlist(), making sure we don't exit too early from lower down in that } case (because of the optimization for a final command to be exec'd if } there's nothing left to do). Then we just execute any top level EXIT trap } which has been left to us. I'm having a hard time grokking "top level EXIT trap" in that context, but I think you must be thinking the right thing, because I can't find any other interpretation that makes sense. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net