File: hurd_path_max.patch

package info (click to toggle)
apr 1.7.6-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,448 kB
  • sloc: ansic: 66,059; sh: 4,279; perl: 900; awk: 393; makefile: 375; python: 146
file content (19 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Stefan Fritsch <sf@debian.org>
Subject: #349418

---
 include/apr.h.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- apr.orig/include/apr.h.in
+++ apr/include/apr.h.in
@@ -638,7 +638,8 @@ typedef int apr_wait_t;
 #elif defined(_POSIX_PATH_MAX)
 #define APR_PATH_MAX       _POSIX_PATH_MAX
 #else
-#error no decision has been made on APR_PATH_MAX for your platform
+#warning no decision has been made on APR_PATH_MAX for your platform
+#define APR_PATH_MAX 4096
 #endif
 
 #define APR_DSOPATH "@shlibpath_var@"