git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Fix GNU/Hurd build

From
Samuel Thibault <samuel.thibault@ens-lyon.org>
Date
Mar 12, 2026, 19:19 UTC
Message-ID
<20260312191901.174808-1-samuel.thibault@ens-lyon.org>
GNU/Hurd does not have a PATH_MAX limitation
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
---
 t/unit-tests/clar/clar.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/unit-tests/clar/clar.h b/t/unit-tests/clar/clar.h
index f7e4363022..55b0361d91 100644
--- a/t/unit-tests/clar/clar.h
+++ b/t/unit-tests/clar/clar.h
@@ -11,7 +11,7 @@
 #include <stdlib.h>
 #include <limits.h>
 
-#if defined(_WIN32) && defined(CLAR_WIN32_LONGPATHS)
+#if defined(__GNU__) || defined(_WIN32) && defined(CLAR_WIN32_LONGPATHS)
 # define CLAR_MAX_PATH 4096
 #elif defined(_WIN32)
 # define CLAR_MAX_PATH MAX_PATH
-- 
2.51.0
Next: Junio C Hamano
Message 1 of 6 in “Fix GNU/Hurd build”
  1. Fix GNU/Hurd buildSamuel Thibault, Mar 12, 2026
  2. Junio C HamanoMar 12, 2026
  3. Patrick SteinhardtMar 13, 2026
  4. Samuel ThibaultMar 13, 2026
  5. Junio C HamanoMar 13, 2026
  6. Patrick SteinhardtMar 16, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.