~ chicken-core (chicken-5) 623c46bea299fa8fb2e5702661a8e3def1016984


commit 623c46bea299fa8fb2e5702661a8e3def1016984
Author:     Jim Ursetto <zbigniewsz@gmail.com>
AuthorDate: Sat Feb 2 20:29:20 2013 -0600
Commit:     Christian Kellermann <ckeen@pestilenz.org>
CommitDate: Sun Feb 3 11:07:39 2013 +0100

    Make heap_size size_t instead of uint, permitting > 4GB heap on 64-bit systems (#974)
    
    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>

diff --git a/runtime.c b/runtime.c
index 4ca72b39..8f1949a7 100644
--- a/runtime.c
+++ b/runtime.c
@@ -381,7 +381,8 @@ static C_TLS C_byte
   *heap_scan_top;
 static C_TLS size_t
   heapspace1_size,
-  heapspace2_size;
+  heapspace2_size,
+  heap_size;
 static C_TLS C_char 
   buffer[ STRING_BUFFER_SIZE ],
   *private_repository = NULL,
@@ -434,8 +435,7 @@ static C_TLS int
 static volatile C_TLS int serious_signal_occurred = 0;
 static C_TLS unsigned int
   mutation_count,
-  stack_size,
-  heap_size;
+  stack_size;
 static C_TLS int chicken_is_initialized;
 static C_TLS jmp_buf gc_restart;
 static C_TLS double
Trap