Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2010-02-12 04:04:52 +0300
committerPierre Humblet <phumblet@phumblet.no-ip.org>2010-02-12 04:04:52 +0300
commit848dbc8f98e6b56b885c9f6b0c944e2490dc4040 (patch)
treefb44583276d90c02a1ca02bfde62e97ec2569f86
parent44caccfca243364ea0282a8711ad788e3bc703dc (diff)
2010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>
* registry.c (get_registry_hive_path): Add space in string.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/registry.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 7f67f4181..a9bec45ce 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>
+
+ * registry.c (get_registry_hive_path): Add space in string.
+
2010-02-11 Corinna Vinschen <corinna@vinschen.de>
* regex/engine.c (step): Drop Cygwin-specific definition.
diff --git a/winsup/cygwin/registry.cc b/winsup/cygwin/registry.cc
index 523218828..c71ff7902 100644
--- a/winsup/cygwin/registry.cc
+++ b/winsup/cygwin/registry.cc
@@ -266,7 +266,7 @@ get_registry_hive_path (const PWCHAR name, PWCHAR path)
if (!name || !path)
return NULL;
- kend = wcpcpy (key, L"SOFTWARE\\Microsoft\\WindowsNT\\CurrentVersion\\ProfileList\\");
+ kend = wcpcpy (key, L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList\\");
wcpcpy (kend, name);
if (!RegOpenKeyExW (HKEY_LOCAL_MACHINE, key, 0, KEY_READ, &hkey))
{