replacing getenv/setenv on Windows - ticket 2636

Sam Hartman hartmans at MIT.EDU
Fri Sep 22 11:38:13 EDT 2006


>>>>> "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.



More information about the krbdev mailing list