Automatically raise the core file size limit if CoreDumpDirectory
is configured.
---- httpd-2.0.48/server/core.c.corelimit
-+++ httpd-2.0.48/server/core.c
-@@ -4233,6 +4233,25 @@
-
- ap_set_version(pconf);
- ap_setup_make_content_type(pconf);
-+
+--- httpd-2.4.1/server/core.c.orig 2012-02-22 00:09:24.000000000 +0100
++++ httpd-2.4.1/server/core.c 2012-02-22 00:15:07.329200901 +0100
+@@ -4433,6 +4433,24 @@
+ }
+ apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper,
+ apr_pool_cleanup_null);
+#ifdef RLIMIT_CORE
+ if (ap_coredumpdir_configured) {
+ struct rlimit lim;