"Eli Zaretskii" <e...@gnu.org> wrote:
Wouldn't it be better to display the error only if CreateProcess fails with e=87 _and_ the environment is larger than 32KB? That would allow us to avoid calling GetVersionEx, which MS wants to deprecate (see http://msdn.microsoft.com/en-us/library/windows/desktop/ms724451%28v=vs.85%29.aspx).
To use this new Version Helper API, much more rewrite is needed. Allthough GetVersionEx() is deprecated, it will still work for the foreseable future.
Would you like to write a modified patch along these lines?
Okay, will do. BTW. Do we support Win-9x/ME? If so, maybe we need to use GetVersionEx() more carefully. I.e. loaded dynamically?
--gv _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make