putenv should return success on deletion of nonexistent variable.
fixes one "msvcrt environ" test
Modified: trunk/reactos/lib/crt/misc/environ.c
_____
Modified: trunk/reactos/lib/crt/misc/environ.c
--- trunk/reactos/lib/crt/misc/environ.c 2005-12-18 00:43:58 UTC
(rev 20238)
+++ trunk/reactos/lib/crt/misc/environ.c 2005-12-18 01:29:18 UTC
(rev 20239)
@@ -259,7 +259,7 @@
if (!found)
{
free(name);
- return -1;
+ return 0;
}
/* Remove the option from wide character environment. */