diff options
author | Pierre Humblet <phumblet@phumblet.no-ip.org> | 2010-02-12 01:04:52 +0000 |
---|---|---|
committer | Pierre Humblet <phumblet@phumblet.no-ip.org> | 2010-02-12 01:04:52 +0000 |
commit | 848dbc8f98e6b56b885c9f6b0c944e2490dc4040 (patch) | |
tree | fb44583276d90c02a1ca02bfde62e97ec2569f86 | |
parent | 44caccfca243364ea0282a8711ad788e3bc703dc (diff) | |
download | cygnal-848dbc8f98e6b56b885c9f6b0c944e2490dc4040.tar.gz cygnal-848dbc8f98e6b56b885c9f6b0c944e2490dc4040.tar.bz2 cygnal-848dbc8f98e6b56b885c9f6b0c944e2490dc4040.zip |
2010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>
* registry.c (get_registry_hive_path): Add space in string.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/registry.cc | 2 |
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)) { |