From: Nguyen Thai Ngoc Duy Date: Tue, 14 Dec 2010 07:43:48 GMT Subject: Re: [PATCH 09/19] tree-diff.c: reserve space in "base" for pathname concatenation Message-ID: In-Reply-To: <4D071DAA.3070400@viscovery.net> On Tue, Dec 14, 2010 at 2:32 PM, Johannes Sixt wrote: > Am 12/14/2010 6:32, schrieb Junio C Hamano: >> Nguyen Thai Ngoc Duy writes: >> >>> All paths should not exceed PATH_MAX, right? >> >> Your PATH_MAX may be a lot shorter than the PATH_MAX on the system I >> created my trees on that you are reading. > > And that is not just gray theory: On Windows, PATH_MAX is whopping 260 > characters! Does that mean Windows won't accept any path longer than that, or PATH_MAX is defined just for fun? -- Duy