Chip Davis (@cdavis5e) commented about dlls/msvcrt/environ.c:
/*********************************************************************
_wputenv_s (MSVCRT.@)
*/ -int CDECL _wputenv_s(const wchar_t *name, const wchar_t *value) +errno_t CDECL _wputenv_s(const wchar_t *name, const wchar_t *value) {
- int ret;
errno_t ret = 0;
TRACE("%s %s\n", debugstr_w(name), debugstr_w(value));
if (!MSVCRT_CHECK_PMT(name != NULL)) return -1; if (!MSVCRT_CHECK_PMT(value != NULL)) return -1;
I hate to be the bearer of bad news, since this was already merged, but it looks like you missed these two.