From: Ryan Bloom Date: Thu, 3 Feb 2000 19:38:08 +0000 (+0000) Subject: APR requires that ap_initialize is called as one of the first functions. X-Git-Tag: 1.3.12~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2211d0e85bff75ffca34cf78cf9d5f7ac936dc32;p=thirdparty%2Fapache%2Fhttpd.git APR requires that ap_initialize is called as one of the first functions. It sets up the rest of the APR types. This was causing lockups whenever we tried to us an APR lock. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84566 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/main.c b/server/main.c index dc3110247a2..eae710a94a4 100644 --- a/server/main.c +++ b/server/main.c @@ -308,6 +308,8 @@ API_EXPORT_NONSTD(int) main(int argc, char *argv[]) g_pHookPool=pglobal; + ap_initialize(); + ap_setup_prelinked_modules(process); ap_create_context(&pcommands, pglobal);