> From: "Gisle Vanem" <gva...@yahoo.no> > Date: Sun, 2 Feb 2014 18:34:49 +0100 > > "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.
No, I meant avoid this versionitis altogether. IOW, if CreateProcess failed with error code 87 and the environment is larger than 32KB, display the hint, regardless of the Windows version. > > Would you like to write a modified patch along these lines? > > Okay, will do. Thanks. > BTW. Do we support Win-9x/ME? Yes. > If so, maybe we need to use GetVersionEx() more > carefully. I.e. loaded dynamically? According to my references, GetVersionEx is supported on Windows 9X, so there should be no problem using it. However, I'd like to avoid looking at the version. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make