File: hurd-ftbfs-path-max.patch

package info (click to toggle)
tasksh 1.2.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,000 kB
  • sloc: cpp: 11,313; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Define PATH_MAX if it's not defined
Origin: debian
Bug-Debian: https://bugs.debian.org/829626
Reviewed-By: Iain R. Learmonth <irl@debian.org>
Last-Update: 2016-07-25

--- a/src/libshared/src/FS.h
+++ b/src/libshared/src/FS.h
@@ -36,6 +36,10 @@
 #define PATH_MAX 4096
 #endif
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 class Path
 {
 public: