This commit is contained in:
Christopher Faylor 2002-11-02 03:31:15 +00:00
parent fe5ba95245
commit 3593c18730
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@
case match.
2002-10-24 Pierre Humblet <pierre.humblet@ieee.org>
* pwdgrp.h (pwdgrp_read::open): Compare fh to INVALID_HANDLE_VALUE.
2002-10-22 Christopher Faylor <cgf@redhat.com>

View File

@ -263,7 +263,7 @@ release_upto (const char *name, DWORD here)
if (!(mb.State == MEM_RESERVE && mb.AllocationProtect == PAGE_NOACCESS &&
(((void *) start < cygheap->user_heap.base
|| (void *) start > cygheap->user_heap.top) &&
((void *) start < (void *) cygheap
((void *) start < (void *) cygheap
| (void *) start > (void *) ((char *) cygheap + CYGHEAPSIZE)))))
continue;
if (!VirtualFree ((void *) start, 0, MEM_RELEASE))

View File

@ -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 = reg.get_int ("heap_chunk_in_mb", 384);
}
if (heap_chunk < 4)