From: Graham Leggett Date: Tue, 27 Mar 2012 12:32:12 +0000 (+0000) Subject: Backport: X-Git-Tag: 2.4.2~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=294779223aee69518a4bc2bdbfbd6e57b21ddc50;p=apache Backport: mod_sed: Don't define PATH_MAX to a potentially undefined value, causing compile problems on GNU hurd. Submitted by: sf Reviewed by: minfrin, fuankg git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1305822 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index b64d956eda..d85c757c89 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,9 @@ Changes with Apache 2.4.2 envvars: Fix insecure handling of LD_LIBRARY_PATH that could lead to the current working directory to be searched for DSOs. [Stefan Fritsch] + *) mod_sed: Don't define PATH_MAX to a potentially undefined value, causing + compile problems on GNU hurd. [Stefan Fritsch] + *) core: Add ap_runtime_dir_relative() and DefaultRuntimeDir. [Jeff Trawick] diff --git a/STATUS b/STATUS index ab42f5ece4..008dddd8d4 100644 --- a/STATUS +++ b/STATUS @@ -88,12 +88,6 @@ RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT FROM TRUNK: [ start all new proposals below, under PATCHES PROPOSED. ] - * mod_sed: Don't define PATH_MAX to a potentially undefined value, causing - compile problems on GNU hurd. - Trunk patch: http://svn.apache.org/viewvc?rev=1304087&view=rev - 2.4.x patch: Trunk patch works - +1: sf, minfrin, fuankg (/me stupid, sorry - saw the removal as add ...) - PATCHES PROPOSED TO BACKPORT FROM TRUNK: diff --git a/modules/filters/libsed.h b/modules/filters/libsed.h index a889d50ab0..76cbc0ce8a 100644 --- a/modules/filters/libsed.h +++ b/modules/filters/libsed.h @@ -28,9 +28,6 @@ extern "C" { #include #include "apr_file_io.h" -#ifndef PATH_MAX -#define PATH_MAX MAX_PATH -#endif #define SED_NLINES 256 #define SED_DEPTH 20