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>2004-12-03 05:00:37 +0300
committerPierre Humblet <phumblet@phumblet.no-ip.org>2004-12-03 05:00:37 +0300
commit8151e674bafcd9a4a54caa1cba6685737354cc6b (patch)
treeb2e00e4b4bfbb14c8c1240dbb85d041bd0604a50 /winsup/cygwin/registry.h
parent3263f819aa5e0d90a9a7203b3c98156bb4012229 (diff)
2004-12-03 Pierre Humblet <pierre.humblet@ieee.org>
* registry.h (reg_key::reg_key): Change arguments. * shared_info.h (class mount_info): Remove had_to_create_mount_areas. * registry.cc (reg_key::reg_key): Change constructors to always handle HKLM and to avoid relying on HKCU. Do not set mount_table->had_to_create_mount_areas. * path.cc (mount_info::conv_to_win32_path): Improve update of sys_mount_table_counter. (mount_info::read_mounts): Use new reg_key constructor. (mount_info::add_reg_mount): Ditto. (mount_info::del_reg_mount): Ditto. (mount_info::read_cygdrive_info_from_registry): Ditto. (mount_info::write_cygdrive_info_to_registry): Ditto. Update cygwin_shared->sys_mount_table_counter after registry update. (mount_info::get_cygdrive_info): Ditto. * shared.cc (shared_info::heap_chunk_size): Use new reg_key constructor. * environ.cc (regopt): Ditto.
Diffstat (limited to 'winsup/cygwin/registry.h')
-rw-r--r--winsup/cygwin/registry.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/registry.h b/winsup/cygwin/registry.h
index 651eb95a9..785a80e2a 100644
--- a/winsup/cygwin/registry.h
+++ b/winsup/cygwin/registry.h
@@ -18,8 +18,7 @@ private:
public:
reg_key (HKEY toplev, REGSAM access, ...);
- reg_key (REGSAM access, ...);
- reg_key (REGSAM access = KEY_ALL_ACCESS);
+ reg_key (bool isHKLM, REGSAM access, ...);
void *operator new (size_t, void *p) {return p;}
void build_reg (HKEY key, REGSAM access, va_list av);