[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minor patch to correct buffer overrun

From: Paul Smith
Subject: Re: Minor patch to correct buffer overrun
Date: Mon, 16 Aug 2010 15:04:51 -0400

On Mon, 2010-08-16 at 11:13 -0400, Chris Sutcliffe wrote:
> No, I didn't explain things well.  MAX_PATH on windows should be 259.

Hm.  I think the entire MAXPATHLEN thing is something that needs to be
cleaned up.

I think a better idea would be to use the POSIX standard value of
PATH_MAX, everywhere in the code.

Then on systems that don't support PATH_MAX we can try to find an
appropriate value elsewhere, such as MAXPATHLEN or whatever, but that
would be all contained in one place (make.h I expect) then a consistent
value would be used everywhere.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]