From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10554 invoked from network); 19 Apr 2007 19:44:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Apr 2007 19:44:41 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 43478 invoked from network); 19 Apr 2007 19:44:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Apr 2007 19:44:35 -0000 Received: (qmail 25680 invoked by alias); 19 Apr 2007 19:44:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23301 Received: (qmail 25670 invoked from network); 19 Apr 2007 19:44:29 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Apr 2007 19:44:29 -0000 Received: (qmail 43168 invoked from network); 19 Apr 2007 19:44:29 -0000 Received: from mx.freeshell.org (HELO sdf.lonestar.org) (192.94.73.18) by a.mx.sunsite.dk with SMTP; 19 Apr 2007 19:44:25 -0000 Received: from sdf.lonestar.org (pda@sverige.freeshell.org [192.94.73.4]) by sdf.lonestar.org (8.13.5.20060308/8.13.8) with ESMTP id l3JJiEGB015443 for ; Thu, 19 Apr 2007 19:44:14 GMT Received: (from pda@localhost) by sdf.lonestar.org (8.13.8/8.12.8/Submit) id l3JJiEaL008109 for zsh-workers@sunsite.dk; Thu, 19 Apr 2007 19:44:14 GMT From: Paul Ackersviller Date: Thu, 19 Apr 2007 19:44:14 +0000 To: zsh-workers@sunsite.dk Subject: Re: zsh 4.3.4 released Message-ID: <20070419194414.GB10230@sverige> Mail-Followup-To: zsh-workers@sunsite.dk References: <200704161647.l3GGl2FE027950@news01.csr.com> <20070419120758.e9774528.pws@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070419120758.e9774528.pws@csr.com> User-Agent: Mutt/1.4.2.2i On Thu, Apr 19, 2007 at 12:07:58PM +0100, Peter Stephenson wrote: > * unposted: Functions/Misc/add-zsh-hook: should have been > added ages ago but wasn't. I've encountered a wee problem with this, and I do mean wee -- the time it took me to spot this proves my font is too small for my powers of vision. $ zsh-4.3.4-dev-0 -f % zcompile -z share/zsh/4.3.4-dev-0/functions/add-zsh-hook zsh: parse error near `else' zcompile: can't read file: share/zsh/4.3.4-dev-0/functions/add-zsh-hook This fixes it: --- Functions/Misc/add-zsh-hook 19 Apr 2007 09:40:56 -0000 1.1 +++ Functions/Misc/add-zsh-hook 19 Apr 2007 19:24:23 -0000 @@ -52,7 +52,7 @@ (( ${(P)#hook} )) || unset $hook fi else - if (( ${(P)+hook} )): then + if (( ${(P)+hook} )); then if (( ${(P)hook[(I)$fn]} == 0 )); then set -A $hook ${(P)hook} $fn fi