Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
apache2
httpd-new_pcre.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File httpd-new_pcre.patch of Package apache2
Index: server/util_pcre.c =================================================================== --- server/util_pcre.c.orig 2012-02-11 10:07:31.000000000 +0100 +++ server/util_pcre.c 2012-02-11 10:08:23.062838133 +0100 @@ -128,6 +128,7 @@ AP_DECLARE(int) ap_regcomp(ap_regex_t *p const char *errorptr; int erroffset; int options = 0; +int nsub; if ((cflags & AP_REG_ICASE) != 0) options |= PCRE_CASELESS; if ((cflags & AP_REG_NEWLINE) != 0) options |= PCRE_MULTILINE; @@ -137,7 +138,9 @@ preg->re_erroffset = erroffset; if (preg->re_pcre == NULL) return AP_REG_INVARG; -preg->re_nsub = pcre_info((const pcre *)preg->re_pcre, NULL, NULL); +pcre_fullinfo((const pcre *)preg->re_pcre, NULL, + PCRE_INFO_CAPTURECOUNT, &nsub); +preg->re_nsub = nsub; return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor