Re: Minor patch to correct buffer overrun

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
> Date: Thu, 19 Aug 2010 11:02:39 -0400
> From: Chris Sutcliffe <[email protected]>
> Cc: [email protected], [email protected]
> 
> The ultimate source of the issue is this line in config.h:
> 
> /* Define to the character that separates directories in PATH. */
> #define PATH_SEPARATOR_CHAR ':'
> 
> As a result of this, vpath isn't parsing correctly.

Thanks, this explains everything.

> Is there a way to have configure set PATH_SEPARATOR to ';' for a
> mingw32 host irregardless of the shell used to run configure?

Well, the canonical way of building a MinGW port of Make is to run
configure.bat and then build_w32.bat.  But if you insist on using the
Unix configure script, then I guess this should do:

  PATH_SEPARATOR=';' ./configure

> Sorry for wasting everybody's time.

Nah, it was a fine riddle.

Thanks for digging up the reason.
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.