diff src/sheap.c @ 259:11cf20601dec r20-5b28

Import from CVS: tag r20-5b28
author cvs
date Mon, 13 Aug 2007 10:23:02 +0200
parents 677f6a0ee643
children 727739f917cb
line wrap: on
line diff
--- a/src/sheap.c	Mon Aug 13 10:22:10 2007 +0200
+++ b/src/sheap.c	Mon Aug 13 10:23:02 2007 +0200
@@ -29,7 +29,7 @@
 #define STATIC_HEAP_SLOP	0x30000
 #else
 #define STATIC_HEAP_BASE	0x400000
-#define STATIC_HEAP_SLOP	0x20000
+#define STATIC_HEAP_SLOP	0x30000
 #endif
 #define STATIC_HEAP_SIZE \
 (STATIC_HEAP_BASE + SHEAP_ADJUSTMENT + STATIC_HEAP_SLOP)
@@ -84,12 +84,11 @@
 	{
 	  printf(
 
-"\nRequested %d bytes, static heap exhausted!  base is %p,\n
-current ptr is %p. You have exhausted the static heap, if\n
-you want to run temacs, adjust sheap-adjust.h to 0 or a +ve\n
-number.  If you are dumping then STATIC_HEAP_SLOP is too\n
-small.  Generally you should *not* try to run temacs with a\n
-static heap, you should dump first.", size,
+"\nRequested %d bytes, static heap exhausted!  base is %p, current ptr
+is %p. You have exhausted the static heap, if you want to run temacs,
+adjust sheap-adjust.h to 0 or a +ve number.  If you are dumping then
+STATIC_HEAP_SLOP is too small.  Generally you should *not* try to run
+temacs with a static heap, you should dump first.\n", size,
 static_heap_base, static_heap_ptr);
 
 	  exit(-1);
@@ -117,3 +116,4 @@
 	   ((static_heap_ptr - static_heap_buffer) - STATIC_HEAP_BASE));
   fclose (stream);
 }
+