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

[PATCH] define MAXPATHLEN for hosts that don't support it

From
MAMartin Atukunda <matlads@dsmagic.com>
Date
Dec 13, 2005, 12:21 UTC
Message-ID
<11344764941807-git-send-email-matlads@dsmagic.com>
---
 git-compat-util.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
e7aa01129989561dcd069db41a2da4a133dcff61
diff --git a/git-compat-util.h b/git-compat-util.h
index 4185b12..ead0ede 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -110,4 +110,7 @@ static inline int sane_case(int x, int h
 	return x;
 }
 
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 256
+#endif
 #endif
-- 
0.99.9.GIT
Next: Junio C Hamano
Message 1 of 2 in “define MAXPATHLEN for hosts that don't support it”
  1. define MAXPATHLEN for hosts that don't support itMartin Atukunda, Dec 13, 2005
  2. Junio C HamanoDec 13, 2005

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.