X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-checkout-index.c;h=b097c888a0da044d6dc78c9747eb18e45b46709d;hb=fffe694d607ea683b5d08ee99a46d9b06cb74006;hp=6b55f931cbd8b79a01057b55eb41a043a4db5e3b;hpb=f7f0fbfcf4fb9367a12aba3a205fb5e1276a2800;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;