[ros-diffs] [mjmartin] 40904: - Revert part of r40893. MapViewOfFile, UnmapViewOfFile and FlushViewOfFile do not SetLastError on Success. Kernel32_winetest for codepage back to 0 failures.
mjmartin at svn.reactos.org
mjmartin at svn.reactos.org
Tue May 12 20:58:10 CEST 2009
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/section.c?rev=40904&r1=40903&r2=40904&view=diff
==============================================================================
--- 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;
}
More information about the Ros-diffs
mailing list