From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 220 invoked from network); 2 Jul 2003 03:59:48 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 2 Jul 2003 03:59:48 -0000 Received: (qmail 16438 invoked by alias); 2 Jul 2003 03:59:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18774 Received: (qmail 16427 invoked from network); 2 Jul 2003 03:59:43 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 2 Jul 2003 03:59:43 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [4.64.233.9] by sunsite.dk (MessageWall 1.0.8) with SMTP; 2 Jul 2003 3:59:42 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id h623xfS00957 for zsh-workers@sunsite.dk; Tue, 1 Jul 2003 20:59:41 -0700 From: Bart Schaefer Message-Id: <1030702035941.ZM956@candle.brasslantern.com> Date: Wed, 2 Jul 2003 03:59:41 +0000 In-Reply-To: <10636.1057083914@csr.com> Comments: In reply to Peter Stephenson "PATCH: failed autoload" (Jul 1, 7:25pm) References: <10636.1057083914@csr.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: failed autoload MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 1, 7:25pm, Peter Stephenson wrote: } } It can't be correct that if an autoload fails beacause of a syntax error } that the function returns 0. } } I don't see how it can be useful to define the function with an empty } function body, either. } } if (!prog) } - prog = &dummy_eprog; I'm sure there was a reason for this, at one time. It was introduced in zsh-workers/9332 by Sven, with the log message "Use word code instead of structs for passing executable chunks around."