diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/registry.cc | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e715d6a..d5fb16b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-12-16 Corinna Vinschen <corinna@vinschen.de> + + * registry.cc (cygnus_class): Remove. + (reg_key::build_reg): Don't set class when creating key. + 2009-12-15 Corinna Vinschen <corinna@vinschen.de> * net.cc (cygwin_setsockopt): Only skip calling setsockopt(SO_REUSEADDR) diff --git a/winsup/cygwin/registry.cc b/winsup/cygwin/registry.cc index 1fdf20a..5232188 100644 --- a/winsup/cygwin/registry.cc +++ b/winsup/cygwin/registry.cc @@ -18,7 +18,6 @@ details. */ #include "cygheap.h" #include "tls_pbuf.h" #include <wchar.h> -static const char cygnus_class[] = "cygnus"; reg_key::reg_key (HKEY top, REGSAM access, ...): _disposition (0) { @@ -84,7 +83,7 @@ reg_key::build_reg (HKEY top, REGSAM access, va_list av) int res = RegCreateKeyExA (r, name, 0, - (char *) cygnus_class, + NULL, REG_OPTION_NON_VOLATILE, access, &sec_none_nih, |