Author: gschneider
Date: Sat Nov 28 16:01:40 2009
New Revision: 44304
URL: http://svn.reactos.org/svn/reactos?rev=44304&view=rev
Log:
[msvcrt] Update scanf family with a patch that also went to Wine (http://source.winehq.org/git/wine.git/?a=commit;h=2043035e1749e40e23853d751…):
Calculate floating point decimals in internally used long double precision.
Fixes bug #4092 (calculator imprecision)
Modified:
trunk/reactos/lib/sdk/crt/string/scanf.h
Modified: trunk/reactos/lib/sdk/crt/string/scanf.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/scanf.h…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/scanf.h [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/scanf.h [iso-8859-1] Sat Nov 28 16:01:40 2009
@@ -266,7 +266,7 @@
}
/* handle decimals */
if (width!=0 && nch == '.') {
- float dec = 1;
+ long double dec = 1;
nch = _GETC_(file);
if (width>0) width--;
while (width!=0 && (nch!=_EOF_) && _ISDIGIT_(nch)) {
Author: mjmartin
Date: Sat Nov 28 15:54:34 2009
New Revision: 44303
URL: http://svn.reactos.org/svn/reactos?rev=44303&view=rev
Log:
[ntoskrnl/config]
- CmpFindSubKeyInName: CmpFindSubKeyInRoot is useless in finding the correct leaf with the key name that is being searched for when keys are not sorted. Loop and search each leaf of the root index for the key name. See bug #4895 for more info.
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] Sat Nov 28 15:54:34 2009
@@ -733,6 +733,33 @@
/* Check if this is another index root */
if (IndexRoot->Signature == CM_KEY_INDEX_ROOT)
{
+
+#ifndef SOMEONE_WAS_NICE_ENOUGH_TO_MAKE_OUR_CELLS_LEXICALLY_SORTED
+ /* CmpFindSubKeyInRoot is useless for actually finding the correct leaf when keys are not sorted */
+ LONG ii;
+ PCM_KEY_INDEX Leaf;
+ /* Loop through each leaf in the index root */
+ for (ii=0; ii<IndexRoot->Count; ii++)
+ {
+ Leaf = HvGetCell(Hive, IndexRoot->List[ii]);
+ if (Leaf)
+ {
+ Found = CmpFindSubKeyInLeaf(Hive, Leaf, SearchName, &SubKey);
+ HvReleaseCell(Hive, IndexRoot->List[ii]);
+ if (Found & 0x80000000)
+ {
+ HvReleaseCell(Hive, CellToRelease);
+ return HCELL_NIL;
+ }
+
+ if ((Found) && (SubKey != HCELL_NIL))
+ {
+ HvReleaseCell(Hive, CellToRelease);
+ return SubKey;
+ }
+ }
+ }
+#endif
/* Lookup the name in the root */
Found = CmpFindSubKeyInRoot(Hive,
IndexRoot,
Author: hyperion
Date: Sat Nov 28 15:51:52 2009
New Revision: 44302
URL: http://svn.reactos.org/svn/reactos?rev=44302&view=rev
Log:
Removed documentation about a build system feature that's no longer supported
I give thanks for the opportunity to improve ReactOS by removing, instead of adding code
Modified:
trunk/reactos/Makefile
Modified: trunk/reactos/Makefile
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/Makefile?rev=44302&r1=4430…
==============================================================================
--- trunk/reactos/Makefile [iso-8859-1] (original)
+++ trunk/reactos/Makefile [iso-8859-1] Sat Nov 28 15:51:52 2009
@@ -18,11 +18,6 @@
# install
# This target installs all of ReactOS to a location specified by the
# ROS_INSTALL environment variable.
-#
-# module_install
-# These targets installs a single module to a location specified by the
-# ROS_INSTALL environment variable. Replace module with the name of the
-# module you want to install.
#
# clean
# This target cleans (deletes) all files that are generated when building
Author: cfinck
Date: Sat Nov 28 01:29:52 2009
New Revision: 44300
URL: http://svn.reactos.org/svn/reactos?rev=44300&view=rev
Log:
Hack: Add the APPDATA variable to the environment created by userenv as it was done for previous releases.
Modified:
branches/ros-branch-0_3_11/reactos/dll/win32/userenv/environment.c
Modified: branches/ros-branch-0_3_11/reactos/dll/win32/userenv/environment.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_11/reactos/dll/w…
==============================================================================
--- branches/ros-branch-0_3_11/reactos/dll/win32/userenv/environment.c [iso-8859-1] (original)
+++ branches/ros-branch-0_3_11/reactos/dll/win32/userenv/environment.c [iso-8859-1] Sat Nov 28 01:29:52 2009
@@ -379,6 +379,9 @@
L"USERPROFILE",
Buffer,
FALSE);
+
+ wcscat(Buffer, L"\\Application Data");
+ SetUserEnvironmentVariable(lpEnvironment, L"APPDATA", Buffer, FALSE);
}
/* FIXME: Set 'USERDOMAIN' variable */