X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-checkout-index.c;h=b097c888a0da044d6dc78c9747eb18e45b46709d;hb=1974bf620b436b014bfe86179ff76485610a4887;hp=6b55f931cbd8b79a01057b55eb41a043a4db5e3b;hpb=e866ffdf9b2add0e0981d19b3c212c4621fd8a57;p=git.git diff --git a/builtin-checkout-index.c b/builtin-checkout-index.c index 6b55f931c..b097c888a 100644 --- a/builtin-checkout-index.c +++ b/builtin-checkout-index.c @@ -45,7 +45,7 @@ static int line_termination = '\n'; static int checkout_stage; /* default to checkout stage0 */ static int to_tempfile; -static char topath[4][MAXPATHLEN+1]; +static char topath[4][PATH_MAX + 1]; static struct checkout state;