mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
putenv should return success on deletion of nonexistent variable.
fixes one "msvcrt environ" test svn path=/trunk/; revision=20239
This commit is contained in:
parent
1b17f93d3a
commit
565f110df2
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue