Re: Minor patch to correct buffer overrun

Paul Smith <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Organization GNU's Not UNIX!
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.