Automatically raise the core file size limit if CoreDumpDirectory
is configured.
---- 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);
+--- httpd-2.0.48/server/core.c.corelimit
++++ httpd-2.0.48/server/core.c
+@@ -4424,6 +4424,25 @@
+ set_banner(pconf);
+ ap_setup_make_content_type(pconf);
+ ap_setup_auth_internal(ptemp);
++
+#ifdef RLIMIT_CORE
+ if (ap_coredumpdir_configured) {
+ struct rlimit lim;
+ }
+#endif
+
- return OK;
- }
-
+ if (!sys_privileges) {
+ ap_log_error(APLOG_MARK, APLOG_CRIT, 0, NULL, APLOGNO(00136)
+ "Server MUST relinquish startup privileges before "
+