From: Christian Göttsche Date: Mon, 6 Jun 2022 13:29:38 +0000 (+0200) Subject: Avoid usage of PATH_MAX not available on hurd X-Git-Tag: archive/raspbian/1%2.3.21.1+dfsg1-1+rpi1~1^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=538cfc62c60193fa43f10383c50b828414027ceb;p=dovecot.git Avoid usage of PATH_MAX not available on hurd Forwarded: https://github.com/dovecot/core/pull/208 Gbp-Pq: Name Avoid-usage-of-PATH_MAX-not-available-on-hurd.patch --- diff --git a/src/lib/test-net.c b/src/lib/test-net.c index fb19d5b..28398fe 100644 --- 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';