Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bugs with exclusion using file paths.
- X-seq: zsh-workers 10308
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Bugs with exclusion using file paths.
- Date: Wed, 29 Mar 2000 10:26:47 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Sun, 26 Mar 2000 23:17:24 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author