File: hurd.patch

package info (click to toggle)
id-utils 4.6.28-20200521ss15dab
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 13,176 kB
  • sloc: ansic: 90,321; sh: 10,115; perl: 558; makefile: 209; lisp: 29; sed: 16
file content (16 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: id-utils-4.6.28/lib/pathmax.h
===================================================================
--- id-utils-4.6.28.orig/lib/pathmax.h
+++ id-utils-4.6.28/lib/pathmax.h
@@ -39,6 +39,11 @@
          #endif
  */
 
+/* Workaround for GNU/Hurd */
+#ifndef PATH_MAX
+# define PATH_MAX 4096
+#endif
+
 # include <unistd.h>
 
 # include <limits.h>