Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 360699 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/runtime/base/preg.cpp (-1 / +2 lines)
Lines 135-141 Link Here
135
     * We use a quick pcre_info() check to see whether cache is corrupted,
135
     * We use a quick pcre_info() check to see whether cache is corrupted,
136
     * and if it is, we flush it and compile the pattern from scratch.
136
     * and if it is, we flush it and compile the pattern from scratch.
137
     */
137
     */
138
    if (pcre_info(pce->re, NULL, NULL) == PCRE_ERROR_BADMAGIC) {
138
    size_t where;
139
    if (pcre_fullinfo(pce->re, NULL, 0, &where) == PCRE_ERROR_BADMAGIC) {
139
      pcre_cache.cleanup();
140
      pcre_cache.cleanup();
140
    } else {
141
    } else {
141
#if HAVE_SETLOCALE
142
#if HAVE_SETLOCALE

Return to bug 360699