summaryrefslogtreecommitdiff
path: root/debian/patches/hurd-path-max-define
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-10-24 21:58:37 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-10-24 21:58:37 +0200
commite2e492a811674fc4adc7c4011c00b05593918bf3 (patch)
tree8c12501374304541620a791475921369a8af4372 /debian/patches/hurd-path-max-define
parent3422d8db505630a70bc89a4eee7db927b8e5ec2f (diff)
use upstream *.rst for docs
Diffstat (limited to 'debian/patches/hurd-path-max-define')
-rw-r--r--debian/patches/hurd-path-max-define6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/hurd-path-max-define b/debian/patches/hurd-path-max-define
index da80024..d6b0cdb 100644
--- a/debian/patches/hurd-path-max-define
+++ b/debian/patches/hurd-path-max-define
@@ -7,9 +7,9 @@ Index: trunk/src/io.c
===================================================================
--- trunk.orig/src/io.c
+++ trunk/src/io.c
-@@ -31,6 +31,11 @@
- #include <libHX/string.h>
- #include "internal.h"
+@@ -39,6 +39,11 @@
+ # define O_CLOEXEC 0
+ #endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096 /* Hurd does not define PATH_MAX in limits.h */