diff src/sheap.c @ 4840:17b3dc5500b0

changes to get old non-pdump dumping on Cygwin to work (sort of)
author Ben Wing <ben@xemacs.org>
date Tue, 12 Jan 2010 23:19:13 -0600
parents 70921960b980
children 19a72041c5ed
line wrap: on
line diff
--- a/src/sheap.c	Tue Jan 12 23:16:33 2010 -0600
+++ b/src/sheap.c	Tue Jan 12 23:19:13 2010 -0600
@@ -27,7 +27,7 @@
 #include <sheap-adjust.h>
 
 #define STATIC_HEAP_BASE	0x800000
-#define STATIC_HEAP_SLOP	0x40000
+#define STATIC_HEAP_SLOP	0x80000
 #define STATIC_HEAP_SIZE \
 (STATIC_HEAP_BASE + SHEAP_ADJUSTMENT + STATIC_HEAP_SLOP)
 #define BLOCKSIZE	(1<<12)
@@ -84,7 +84,7 @@
 	{
 	  printf (
 "\nRequested %d bytes, static heap exhausted!  base is %p, current ptr\n"
-"is %p. You have exhausted the static heap. \n"
+"is %p, static heap size is %ld. You have exhausted the static heap. \n"
 "\n"
 "If you are simply trying to compile, remove sheap-adjust.h\n"
 "and recompile from the top level. If this doesn't\n"
@@ -93,7 +93,7 @@
 "If you want to run temacs, change SHEAP_ADJUSTMENT in sheap-adjust.h\n"
 "to 0 or a +ve number. Generally you should *not* try to run temacs\n"
 "with a static heap, you should dump first.\n",
-          size, static_heap_base, static_heap_ptr);
+          size, static_heap_base, static_heap_ptr, static_heap_size);
 
 	  exit(-1);
 	  return 0;