mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user