projects
/
dovecot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f87f28
)
Avoid usage of PATH_MAX not available on hurd
author
Christian Göttsche
<cgzones@googlemail.com>
Mon, 6 Jun 2022 13:29:38 +0000
(15:29 +0200)
committer
Noah Meyerhans
<noahm@debian.org>
Sat, 30 Jul 2022 02:58:28 +0000
(19:58 -0700)
Gbp-Pq: Name Avoid-usage-of-PATH_MAX-not-available-on-hurd.patch
src/lib/test-net.c
patch
|
blob
|
history
diff --git
a/src/lib/test-net.c
b/src/lib/test-net.c
index fb19d5bf0d8f1970d65cdc2ff4f486a3cd6e88bc..28398feae09acdcfe4514aeb950446f53eb9cba5 100644
(file)
--- a/
src/lib/test-net.c
+++ b/
src/lib/test-net.c
@@
-145,7
+145,7
@@
static void test_net_unix_long_paths(void)
test_begin("net_*_unix() - long paths");
- char path[
PATH_MAX
];
+ char path[
4096
];
memset(path, 'x', sizeof(path)-1);
path[sizeof(path)-1] = '\0';