Use PATH_MAX instead of MAXPATHLEN
commit095c424d08d96a5f9ee3ca53ae952e92c5cff99b
authorJonas Fonseca <fonseca@diku.dk>
Sat, 26 Aug 2006 14:09:17 +0000 (26 16:09 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Aug 2006 00:52:58 +0000 (26 17:52 -0700)
tree4aac2fb179e264d7fb48813a7bd91025d449c0b3
parenteb950c192a0e0dfc069e16e857cbe1ae16d8ad82
Use PATH_MAX instead of MAXPATHLEN

According to sys/paramh.h it's a "BSD name" for values defined in
<limits.h>. Besides PATH_MAX seems to be more commonly used.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-checkout-index.c
dir.c
entry.c
git-compat-util.h