replacing getenv/setenv on Windows - ticket 2636

Jeffrey Altman jaltman at MIT.EDU
Fri Sep 22 11:44:52 EDT 2006


Sam Hartman wrote:
>>>>>> "Jeffrey" == Jeffrey Altman <jaltman at MIT.EDU> writes:
> 
>     Jeffrey> Sam:
> 
>     Jeffrey> That is not what my proposal said.  My proposal said that
>     Jeffrey> a macro would be used to replace the existing calls to
>     Jeffrey> getenv() with win32_getenv() on Windows systems.  The
>     Jeffrey> same for setenv() and win32_setenv().
> 
>     Jeffrey> The only change for POSIX systems is that there would
>     Jeffrey> need to be a macro that is a no-op added so that it can
>     Jeffrey> be used to free the allocation from win32_getenv() on
>     Jeffrey> Windows.
> 
> OK.
> I see no problem.

Excellent.

I will put together a patch and submit it for review.

Jeffrey Altman




More information about the krbdev mailing list