[ros-diffs] [sgasiorek] 20239: putenv should return success on
deletion of nonexistent variable.
sgasiorek at svn.reactos.com
sgasiorek at svn.reactos.com
Sun Dec 18 02:29:22 CET 2005
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. */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051218/6d799bb3/attachment.html
More information about the Ros-diffs
mailing list