bug-make
[Top][All Lists]
Advanced

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

Re: Max env-var size on Win-XP


From: Gisle Vanem
Subject: Re: Max env-var size on Win-XP
Date: Sun, 2 Feb 2014 18:34:49 +0100

"Eli Zaretskii" <address@hidden> 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



reply via email to

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