From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6368 invoked by alias); 2 Jun 2015 14:10:16 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35366 Received: (qmail 11876 invoked from network); 2 Jun 2015 14:10:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.0 X-AuditID: cbfec7f4-f79c56d0000012ee-cc-556db6e613f1 Date: Tue, 02 Jun 2015 15:00:04 +0100 From: Peter Stephenson To: Zsh Hackers' List Subject: Re: zsh (live version): setting globassign crashes completion Message-id: <20150602150004.494d2311@pwslap01u.europe.root.pri> In-reply-to: References: <556D9EBE.4050702@gmail.com> <20150602143606.346a5abc@pwslap01u.europe.root.pri> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsVy+t/xy7rPtuWGGry+aWRxsPkhkwOjx6qD H5gCGKO4bFJSczLLUov07RK4Mh79n8ZccIet4uHbJ6wNjJtZuxg5OSQETCR2tpxigrDFJC7c W8/WxcjFISSwlFFi1ur17CAJIYEZTBIr7yRBJLYySqx59IENJMEioCrRd38pWDebgKHE1E2z GbsYOThEBLQl2j+KgYSFBdwkDt2Yyghi8wrYSzx8+Q3M5hQIlvgy+SEL3LJNx5aDXcQvoC9x 9e8nqIvsJWZeOQPVLCjxY/I9FhCbWUBLYvO2JlYIW15i85q3zBCHqkvcuLubfQKj0CwkLbOQ tMxC0rKAkXkVo2hqaXJBcVJ6rqFecWJucWleul5yfu4mRkjQftnBuPiY1SFGAQ5GJR5ehk85 oUKsiWXFlbmHGCU4mJVEeAU35IYK8aYkVlalFuXHF5XmpBYfYpTmYFES5527632IkEB6Yklq dmpqQWoRTJaJg1OqgXFeT/6TpHl8p3bcNHs3ySC1qijozKlGFvtM0RemXp8N/3mIR1yNt5px 3039nW9jfF/cnDT/xG2TixkXed1bdkL10PXbC683LZOM/5BiUrO9RbvBdNYE+TIp6QNh8bz2 LwsX56VfOnl1trOCjWP9Mlkv4cmaB+RvvzjLu67pxHLtYq7DL0uZTyuxFGckGmoxFxUnAgAd oX5nVgIAAA== On Tue, 2 Jun 2015 15:45:09 +0200 Mikael Magnusson wrote: > My money is on > "33816, 33819: GLOB_ASSIGN changes integer and floating type variables > to string scalars" > I checked that my patch still passes the test added by those patches, > and it does. (Moved to zsh-workers.) Ick. We'd better do this, too. pws diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 5c453c8..195ce56 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -483,6 +483,14 @@ >tmpcd tmpfile1 tmpfile2 >tmp* + (setopt globassign + typeset -A foo + touch gatest1 gatest2 + foo=(gatest*) + print ${(t)foo}) +0:GLOB_ASSIGN doesn't monkey with type if not scalar assignment. +>association-local + mkdir onlysomefiles touch onlysomefiles/.thisfile onlysomefiles/thatfile setopt globdots