From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6017 invoked by alias); 8 Nov 2013 01:36:41 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18121 Received: (qmail 5960 invoked from network); 8 Nov 2013 01:36:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131107173627.ZM24325@torch.brasslantern.com> Date: Thu, 07 Nov 2013 17:36:27 -0800 In-reply-to: <20131107191806.GA85153@redoubt.spodhuis.org> Comments: In reply to Phil Pennock "Re: zsh 5.0.2-test-1 is available" (Nov 7, 2:18pm) References: <20131106202321.4a48c77b@pws-pc.ntlworld.com> <20131107153315.GW3544@sym.noone.org> <20131107160551.7aa195dc@pwslap01u.europe.root.pri> <20131107191806.GA85153@redoubt.spodhuis.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: zsh 5.0.2-test-1 is available MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Nov 7, 2:18pm, Phil Pennock wrote: } } My startup files do: } } zmodload -F zsh/stat b:zstat } } With that run, `zmodload` does *not* list the zsh/stat module, in either } 5.0.2-test-1 or 5.0.2. } } However, If I then run `zmodload -a zsh/stat zstat` then in 5.0.2 it } succeeds silently, but in 5.0.2-test-1 I see the error which Axel } reports. I just checked out commit daa828bc51b48110f0a584fa2b74895d2cc761c1 and compiled it. I get the same error message in 5.0.2 as in -test-1. schaefer<501> zmodload -F zsh/stat b:zstat schaefer<502> zmodload -a zsh/stat zstat zmodload: failed to add builtin `zstat' schaefer<503> print $ZSH_VERSION $ZSH_PATCHLEVEL 5.0.2 1.5778 In fact: burner% zmodload -F zsh/stat b:zstat burner% zmodload -a zsh/stat zstat zmodload: failed to add builtin `zstat' burner% print $ZSH_VERSION $ZSH_PATCHLEVEL 4.3.17 Debian So I don't know why you weren't getting the error message before, but it's not a code regression. Aside: This is a bit weird: torch% zmodload -a zsh/stat zmodload: zsh/stat: `/' is illegal in a builtin zmodload not checking that it has the correct number of arguments? -- Barton E. Schaefer