* shared.cc (shared_info::heap_chunk_size): Use correct variable when reading
HKLM.
This commit is contained in:
parent
28c098e3f4
commit
485d85bfa7
|
@ -1,3 +1,8 @@
|
||||||
|
2003-01-31 Jason Tishler <jason@tishler.net>
|
||||||
|
|
||||||
|
* shared.cc (shared_info::heap_chunk_size): Use correct variable when
|
||||||
|
reading HKLM.
|
||||||
|
|
||||||
2003-01-30 Christopher Faylor <cgf@redhat.com>
|
2003-01-30 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* fhandler_registry.cc (fhandler_registry::exists): Fix off-by-one
|
* fhandler_registry.cc (fhandler_registry::exists): Fix off-by-one
|
||||||
|
|
|
@ -245,7 +245,7 @@ shared_info::heap_chunk_size ()
|
||||||
reg_key r1 (HKEY_LOCAL_MACHINE, KEY_READ, "SOFTWARE",
|
reg_key r1 (HKEY_LOCAL_MACHINE, KEY_READ, "SOFTWARE",
|
||||||
CYGWIN_INFO_CYGNUS_REGISTRY_NAME,
|
CYGWIN_INFO_CYGNUS_REGISTRY_NAME,
|
||||||
CYGWIN_INFO_CYGWIN_REGISTRY_NAME, NULL);
|
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)
|
if (heap_chunk < 4)
|
||||||
|
|
Loading…
Reference in New Issue