Author: jgardou
Date: Mon Sep 22 07:43:06 2014
New Revision: 64222
URL: http://svn.reactos.org/svn/reactos?rev=64222&view=rev
Log:
[NTOS/CM]
- Return the right index when the root subleaf is found.
- Let's pretend I was nice enough to make the cells lexically sorted when in fact I just corrected a stupid binary search.
WARNING: this breaks ntoskrnl reading hive files produced before this revision. Sorry, this is a breaking change.
CORE-8524 #comment Committed, let's see what happens in the next days.
Modified:
trunk/reactos/ntoskrnl/config/cmindex.c
Modified: trunk/reactos/ntoskrnl/config/cmindex.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmindex.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmindex.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmindex.c [iso-8859-1] Mon Sep 22 07:43:06 2014
@@ -11,6 +11,8 @@
#include "ntoskrnl.h"
#define NDEBUG
#include "debug.h"
+
+#define SOMEONE_WAS_NICE_ENOUGH_TO_MAKE_OUR_CELLS_LEXICALLY_SORTED
/* GLOBALS *******************************************************************/
@@ -218,7 +220,7 @@
/* Return it */
*SubKey = LeafCell;
- ReturnIndex = Low;
+ ReturnIndex = i;
goto Return;
}
Author: akhaldi
Date: Sun Sep 21 17:43:12 2014
New Revision: 64218
URL: http://svn.reactos.org/svn/reactos?rev=64218&view=rev
Log:
[AMSTREAM_WINETEST]
* Sync with Wine 1.7.27. A huge patch that demonstrates how much work has been done on this module.. I mean reduce diff to Wine ;p
CORE-8540
Modified:
trunk/rostests/winetests/amstream/amstream.c
Modified: trunk/rostests/winetests/amstream/amstream.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/amstream/amstre…
==============================================================================
--- trunk/rostests/winetests/amstream/amstream.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/amstream/amstream.c [iso-8859-1] Sun Sep 21 17:43:12 2014
@@ -441,7 +441,7 @@
CoInitializeEx(NULL, COINIT_MULTITHREADED);
test_media_streams();
-
+
file = CreateFileW(filenameW, 0, 0, NULL, OPEN_EXISTING, 0, NULL);
if (file != INVALID_HANDLE_VALUE)
{