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
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]
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:
#include <limits.h>
#include "apr_file_io.h"
-#ifndef PATH_MAX
-#define PATH_MAX MAX_PATH
-#endif
#define SED_NLINES 256
#define SED_DEPTH 20