]> granicus.if.org Git - apache/commitdiff
APR requires that ap_initialize is called as one of the first functions.
authorRyan Bloom <rbb@apache.org>
Thu, 3 Feb 2000 19:38:08 +0000 (19:38 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 3 Feb 2000 19:38:08 +0000 (19:38 +0000)
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

server/main.c

index dc3110247a262dfe6462dc6dd33f55c4b34622b2..eae710a94a4df2e11467128f8111b4ab2e5319e3 100644 (file)
@@ -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);