aboutsummaryrefslogtreecommitdiff
path: root/patches/dash/dash-path-max.patch
diff options
context:
space:
mode:
authorPasha <pasha@member.fsf.org>2024-02-29 19:30:30 +0000
committerPasha <pasha@member.fsf.org>2024-02-29 19:30:30 +0000
commit84d199451cf33734003c00c043a1480920f5563b (patch)
tree4655f03b3637184bfb363b4e86d376756e85c9e3 /patches/dash/dash-path-max.patch
downloadcross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.gz
cross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.bz2
initial commit
Diffstat (limited to 'patches/dash/dash-path-max.patch')
-rw-r--r--patches/dash/dash-path-max.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/dash/dash-path-max.patch b/patches/dash/dash-path-max.patch
new file mode 100644
index 0000000..bc6924d
--- /dev/null
+++ b/patches/dash/dash-path-max.patch
@@ -0,0 +1,12 @@
+diff -Naur dash-0.5.12/src/expand.c cross-hurd/src/dash-0.5.12/src/expand.c
+--- dash-0.5.12.old/src/expand.c 2022-12-11 01:29:21.000000000 -0500
++++ dash-0.5.12/src/expand.c 2023-05-25 00:26:17.332804650 -0400
+@@ -84,6 +84,8 @@
+ #define RMESCAPE_GROW 0x8 /* Grow strings instead of stalloc */
+ #define RMESCAPE_HEAP 0x10 /* Malloc strings instead of stalloc */
+
++#define PATH_MAX 4096
++
+ /* Add CTLESC when necessary. */
+ #define QUOTES_ESC (EXP_FULL | EXP_CASE)
+