From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10904 invoked from network); 29 Mar 2000 08:26:58 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Mar 2000 08:26:58 -0000 Received: (qmail 7786 invoked by alias); 29 Mar 2000 08:26:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10308 Received: (qmail 7777 invoked from network); 29 Mar 2000 08:26:49 -0000 Date: Wed, 29 Mar 2000 10:26:47 +0200 (MET DST) Message-Id: <200003290826.KAA21838@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Peter Stephenson's message of Sun, 26 Mar 2000 23:17:24 +0100 Subject: Re: Bugs with exclusion using file paths. Peter Stephenson wrote: > ... > @@ -1810,8 +1814,11 @@ > */ > parsfound = savparsfound; > } > - if (buf) > + if (buf) { > zfree(buf, pathpos + patinlen); > + patinstart = savpatinstart; > + patinlen = savpatinlen; > + } > if (!ret) > break; > next = PATNEXT(next); With something like **/_*~*~ I now get lots of: BUG: attempt to free more than allocated. warnings. I haven't grokked all this pattern.c stuff, so I can't send a patch (I don't even know if the problem is just with the second arg to zfree() or if this shows a real bug). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de