From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1930 invoked from network); 19 Oct 2004 04:54:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Oct 2004 04:54:54 -0000 Received: (qmail 79545 invoked from network); 19 Oct 2004 04:54:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Oct 2004 04:54:43 -0000 Received: (qmail 24110 invoked by alias); 19 Oct 2004 04:54:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20504 Received: (qmail 24096 invoked from network); 19 Oct 2004 04:54:28 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Oct 2004 04:54:28 -0000 Received: (qmail 79225 invoked from network); 19 Oct 2004 04:54:28 -0000 Received: from moonbase.zanshin.com (64.84.47.139) by a.mx.sunsite.dk with SMTP; 19 Oct 2004 04:54:26 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.13.1/8.13.1) with ESMTP id i9J4sLUg008802; Mon, 18 Oct 2004 21:54:21 -0700 Date: Mon, 18 Oct 2004 21:54:21 -0700 (PDT) From: Bart Schaefer Reply-To: zsh-workers@sunsite.dk To: Alexey Tourbin cc: zsh-workers@sunsite.dk Subject: Re: bug: _store_cache and ksh arrays In-Reply-To: <20041019024827.GI2017@solemn.turbinal.org> Message-ID: References: <20041019024827.GI2017@solemn.turbinal.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 On Tue, 19 Oct 2004, Alexey Tourbin wrote: > I think I found a bug. _store_cache produces wrong output when > both KSH_TYPESET and MAGIC_EQUAL_SUBST are set. _store_cache is meant to be called from the completion system functions, which are meant to execute only with the setopts in the $_comp_options array in effect. Nearly all functions in the completion system assume those settings and make no effort to work with arbitrary combinations of setopts.