From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17670 invoked by alias); 29 Apr 2011 01:34:54 -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: 29105 Received: (qmail 2773 invoked from network); 29 Apr 2011 01:34:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,FRT_ADOBE2 autolearn=no version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Fri, 29 Apr 2011 03:34:38 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: completion on brace + 4 characters doesn't work Message-ID: <20110429013438.GC21935@prunille.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20110428111148.GA3109@ypig.lip.ens-lyon.fr> <110428081240.ZM11395@torch.brasslantern.com> <20110428222754.GC5625@prunille.vinc17.org> <20110429003149.GA21935@prunille.vinc17.org> <20110429005909.GB21935@prunille.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110429005909.GB21935@prunille.vinc17.org> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6171-vl-r42848 (2011-03-30) With "echo ./{abcd", valgrind complains: ==13848== Source and destination overlap in strcpy(0x4027532, 0x4027533) ==13848== at 0x4C25918: strcpy (mc_replace_strmem.c:311) ==13848== by 0xD09D92C: get_comp_string (zle_tricky.c:2016) ==13848== by 0xD098D9C: docomplete (zle_tricky.c:659) ==13848== by 0xD098126: expandorcomplete (zle_tricky.c:315) ==13848== by 0xD097D0B: completecall (zle_tricky.c:208) ==13848== by 0xD0862E0: execzlefunc (zle_main.c:1311) ==13848== by 0xD085787: zlecore (zle_main.c:1058) ==13848== by 0xD085EAB: zleread (zle_main.c:1219) ==13848== by 0xD0888F3: zle_main_entry (zle_main.c:1874) ==13848== by 0x44B83F: zleentry (init.c:1374) ==13848== by 0x44C2B4: inputline (input.c:281) ==13848== by 0x44C12B: ingetc (input.c:217) -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)