Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Cores almost on demand in patcompile()
On 20 October 2016 at 13:03, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
>> if (P_OP(pscan) == P_EXACTLY) {
>> /* .... */
>> break; /* <- here... */
>> }
>
> This time with a patch (hope everyone's enjoying the white knuckle ride)
>
> pws
>
> diff --git a/Src/pattern.c b/Src/pattern.c
Tested the change, no segfault, also when break is added to unmodified
code. Also checked if the pattern still matches (made use of the
prepared input1.txt, input2.txt) and it does, in both versions.
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author