Author: mjmartin
Date: Tue May 12 22:58:09 2009
New Revision: 40904
URL:
http://svn.reactos.org/svn/reactos?rev=40904&view=rev
Log:
- Revert part of r40893. MapViewOfFile, UnmapViewOfFile and FlushViewOfFile do not
SetLastError on Success. Kernel32_winetest for codepage back to 0 failures.
Modified:
trunk/reactos/dll/win32/kernel32/mem/section.c
Modified: trunk/reactos/dll/win32/kernel32/mem/section.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/mem/sec…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/mem/section.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/mem/section.c [iso-8859-1] Tue May 12 22:58:09 2009
@@ -219,7 +219,6 @@
return NULL;
}
- SetLastError(ERROR_SUCCESS);
/* Return the base */
return ViewBase;
}
@@ -262,7 +261,6 @@
return FALSE;
}
- SetLastError(ERROR_SUCCESS);
/* Otherwise, return sucess */
return TRUE;
}
@@ -385,7 +383,6 @@
return FALSE;
}
- SetLastError(ERROR_SUCCESS);
/* Return success */
return TRUE;
}