X-Git-Url: https://git.tld-linux.org/?p=packages%2Fapache.git;a=blobdiff_plain;f=httpd-2.0.48-corelimit.patch;h=c3007fe71202bd6024dd64568d122ab770c924b9;hp=b9c120004c261ff73e1876c3a53c650e9ca2c75d;hb=HEAD;hpb=af4f8313df3d4f53c3ae5294c8aa7f673b6b7268 diff --git a/httpd-2.0.48-corelimit.patch b/httpd-2.0.48-corelimit.patch index b9c1200..c3007fe 100644 --- a/httpd-2.0.48-corelimit.patch +++ b/httpd-2.0.48-corelimit.patch @@ -2,12 +2,13 @@ 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 @@ + ap_setup_make_content_type(pconf); + ap_setup_auth_internal(ptemp); + ap_setup_ssl_optional_fns(pconf); ++ +#ifdef RLIMIT_CORE + if (ap_coredumpdir_configured) { + struct rlimit lim; @@ -26,6 +27,7 @@ is configured. + } +#endif + - return OK; - } - + if (!sys_privileges) { + ap_log_error(APLOG_MARK, APLOG_CRIT, 0, NULL, APLOGNO(00136) + "Server MUST relinquish startup privileges before " +