From 848dbc8f98e6b56b885c9f6b0c944e2490dc4040 Mon Sep 17 00:00:00 2001 From: Pierre Humblet Date: Fri, 12 Feb 2010 01:04:52 +0000 Subject: 2010-02-11 Pierre Humblet * registry.c (get_registry_hive_path): Add space in string. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/registry.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * registry.c (get_registry_hive_path): Add space in string. + 2010-02-11 Corinna Vinschen * 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)) { -- cgit v1.2.3