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>
This commit is contained in:
Jonas Fonseca
2006-08-26 16:09:17 +02:00
committed by Junio C Hamano
parent eb950c192a
commit 095c424d08
4 changed files with 3 additions and 8 deletions

View File

@ -172,7 +172,4 @@ static inline int sane_case(int x, int high)
return x;
}
#ifndef MAXPATHLEN
#define MAXPATHLEN 256
#endif
#endif