tags 710375 + patch
thanks
attached patch should fix it
there is another mention in RePlugin.cs but I have no idea what that is
(smalltalk I guess?) so its still there
Description: adapt to new pcre api
pcre_info is removed in favor of pcre_fullinfo
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710375
Author: Julian Taylor <[email protected]>
--- a/unix/src/vm/intplugins/RePlugin/RePlugin.c
+++ b/unix/src/vm/intplugins/RePlugin/RePlugin.c
@@ -348,10 +348,13 @@
EXPORT(sqInt) primPCRENumSubPatterns(void) {
/* begin loadRcvrFromStackAt: */
+ int ncap;
+ pcre_fullinfo((const pcre *)pcrePtr, NULL,
+ PCRE_INFO_CAPTURECOUNT, &ncap);
rcvr = interpreterProxy->stackObjectValue(0);
pcrePtr = ((int) (interpreterProxy->fetchArrayofObject(2, rcvr)));
interpreterProxy->pop(1);
- interpreterProxy->pushInteger(pcre_info((pcre *)pcrePtr, NULL, NULL));
+ interpreterProxy->pushInteger(ncap);
}