replacing getenv/setenv on Windows - ticket 2636

Sam Hartman hartmans at MIT.EDU
Fri Sep 22 00:19:19 EDT 2006


>>>>> "Jeffrey" == Jeffrey Altman <jaltman at MIT.EDU> writes:

    Jeffrey> *** I added the following to ticket 2636 last night. ***

    Jeffrey>        const char * win32_getenv(const char * var) int
    Jeffrey> win32_setenv(const char *var, const char *value)

    Jeffrey> and a macro

    Jeffrey> 	free_envstr(str)

This proposal is not complete.  Clearly we're not going to replace
every call to getenv with a conditional call to win32_getenv.  Clearly
e are also not going to call a function called win32_getenv on posix
systems.

--Sam




More information about the krbdev mailing list