diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-31 15:02:40 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-31 15:02:40 +0000 |
commit | 485d85bfa72707af58c49e0359ec1eed2fb88de7 (patch) | |
tree | e371c561256cfa4041d7a1b9b998915597595604 /winsup/cygwin/shared.cc | |
parent | 28c098e3f469965f3d391494b0a2fb3ea1c2cac0 (diff) | |
download | cygnal-485d85bfa72707af58c49e0359ec1eed2fb88de7.tar.gz cygnal-485d85bfa72707af58c49e0359ec1eed2fb88de7.tar.bz2 cygnal-485d85bfa72707af58c49e0359ec1eed2fb88de7.zip |
* shared.cc (shared_info::heap_chunk_size): Use correct variable when reading
HKLM.
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r-- | winsup/cygwin/shared.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index a21aebbe3..ae30e73f7 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -245,7 +245,7 @@ shared_info::heap_chunk_size () reg_key r1 (HKEY_LOCAL_MACHINE, KEY_READ, "SOFTWARE", CYGWIN_INFO_CYGNUS_REGISTRY_NAME, CYGWIN_INFO_CYGWIN_REGISTRY_NAME, NULL); - heap_chunk = reg.get_int ("heap_chunk_in_mb", 384); + heap_chunk = r1.get_int ("heap_chunk_in_mb", 384); } if (heap_chunk < 4) |