Skip Menu |

This queue is for tickets about the re-engine-Plugin CPAN distribution.

Report information
The Basics
Id: 38684
Status: resolved
Priority: 0/
Queue: re-engine-Plugin

People
Owner: Nobody in particular
Requestors: vpit [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.06
Fixed in: 0.07



Subject: Fix test failures in t/method/mod.t
Here's a fix for t/method/mod.t failures (see http://www.nntp.perl.org/group/perl.cpan.testers/2008/08/msg2062760.html for example, but it also caused an assertion failed with a debugging 5.10). The parens buffer count was off by 1. I don't know what the supplementary buffer is used for, but it's always allocated that way in regcomp.c, so I guess there must be a good reason behind it. Vincent.
Subject: mod.patch
--- Plugin.xs 2008-08-19 15:34:42.000000000 +0200 +++ Plugin.xs 2008-08-23 15:42:57.000000000 +0200 @@ -110,7 +110,7 @@ buffers = rx->nparens; - Newxz(rx->offs, buffers, regexp_paren_pair); + Newxz(rx->offs, buffers + 1, regexp_paren_pair); return rx; }