putenv should return success on deletion of nonexistent variable.

fixes one "msvcrt environ" test

svn path=/trunk/; revision=20239
This commit is contained in:
Sebastian Gasiorek 2005-12-18 01:29:18 +00:00
parent 1b17f93d3a
commit 565f110df2

View file

@ -259,7 +259,7 @@ int SetEnv(const wchar_t *option)
if (!found)
{
free(name);
return -1;
return 0;
}
/* Remove the option from wide character environment. */