]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
ap_regex: Follow up to r1897240: Fix issues spotted by RĂ¼diger (thanks!).
authorYann Ylavic <ylavic@apache.org>
Thu, 20 Jan 2022 13:15:36 +0000 (13:15 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 20 Jan 2022 13:15:36 +0000 (13:15 +0000)
commitf01e29d89d5ef65949e2f16b40e57488e83f8819
tree29b6a66e49e3059766d19e42f8a12fad925120bd
parent38dddb187af8189d12fee18aea367824a20ffd10
ap_regex: Follow up to r1897240: Fix issues spotted by RĂ¼diger (thanks!).

#include "apr_thread_proc.h" is enough/needed by util_pcre.c and main.c.
Fix compilation (vector => ovector) for !HAVE_PCRE2 && APR_HAS_THREAD_LOCAL.
Check pcre2_match_data_create() return value for HAVE_PCRE2 && !APR_HAS_THREAD_LOCAL.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897250 13f79535-47bb-0310-9956-ffa450edef68
server/main.c
server/util_pcre.c