# HG changeset patch # User Karl Heuer # Date 783896839 0 # Node ID ce47a07ac137f5839117dfe2729da5809b76fbcb # Parent bb44f0c88ec248457334e1b5602d3cf006aec734 (sbrk): Allow request sizes to be different than the page size. diff -r bb44f0c88ec2 -r ce47a07ac137 src/w32heap.c --- a/src/w32heap.c Thu Nov 03 20:49:20 1994 +0000 +++ b/src/w32heap.c Thu Nov 03 21:07:19 1994 +0000 @@ -143,8 +143,6 @@ else if (size > 0) { /* Sanity checks. */ - if (size % get_page_size () != 0) - return NULL; if ((data_region_end + size) > (data_region_base + get_reserved_heap_size ())) return NULL;