Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . gcl (2.6.12-4) unstable; urgency=medium . * Version_2_6_13pre3 Author: Camm Maguire --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: https://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- gcl-2.6.12.orig/h/bsd.h +++ gcl-2.6.12/h/bsd.h @@ -33,7 +33,7 @@ filecpy(save, original, stsize - sizeof( extern char etext; -#define INIT_ALLOC heap_end = core_end = sbrk(0); +#define INIT_ALLOC heap_end = core_end = PCEI(sbrk(0),PAGESIZE); #define SYM_EXTERNAL_P(sym) ((sym)->n_type & N_EXT) --- gcl-2.6.12.orig/o/alloc.c +++ gcl-2.6.12/o/alloc.c @@ -229,9 +229,7 @@ alloc_page(long n) { if (!s) { - if (nn>(holepage - (in_signal_handler? 0 : - available_pages-n<=reserve_pages_for_signal_handler ? 0 : - reserve_pages_for_signal_handler))) { + if (nn>holepage) { fixnum d=available_pages-nn; @@ -241,12 +239,6 @@ alloc_page(long n) { d=d<0 ? 0 : d; d=new_holepage