aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/registry.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-12-16 13:09:46 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-12-16 13:09:46 +0000
commitd1600b38c0a37e629a7f8d36625119d6e5453614 (patch)
treee0ed7fa22bc1cda2face2e378f8f5dffb47723b9 /winsup/cygwin/registry.cc
parent47c756dd7a5e5720656deefde376e5beb57cc2a4 (diff)
downloadnewlib-d1600b38c0a37e629a7f8d36625119d6e5453614.zip
newlib-d1600b38c0a37e629a7f8d36625119d6e5453614.tar.gz
newlib-d1600b38c0a37e629a7f8d36625119d6e5453614.tar.bz2
* registry.cc (cygnus_class): Remove.
(reg_key::build_reg): Don't set class when creating key.
Diffstat (limited to 'winsup/cygwin/registry.cc')
-rw-r--r--winsup/cygwin/registry.cc3
1 files changed, 1 insertions, 2 deletions
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,