OSDN Git Service

* cygheap.h (CYGHEAP_SLOP): Reduce drastically to avoid collisions.
authorcgf <cgf>
Sun, 11 Apr 2004 04:07:17 +0000 (04:07 +0000)
committercgf <cgf>
Sun, 11 Apr 2004 04:07:17 +0000 (04:07 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.h

index 9be9746..243b20c 100644 (file)
@@ -1,3 +1,7 @@
+2004-04-11  Christopher Faylor  <cgf@alum.bu.edu>
+
+       * cygheap.h (CYGHEAP_SLOP): Reduce drastically to avoid collisions.
+
 2004-04-11  Pierre Humblet <pierre.humblet@ieee.org>
 
        * dtable.cc (dtable::extend): Change order of memcpy and cfree.
index 864fa97..ef84f18 100644 (file)
@@ -272,7 +272,7 @@ struct init_cygheap
   void close_ctty ();
 };
 
-#define _CYGHEAPSIZE_SLOP (32 * 1024 * 1024)
+#define _CYGHEAPSIZE_SLOP (128 * 1024)
 #define CYGHEAPSIZE (sizeof (init_cygheap) + (20000 * sizeof (fhandler_union)) + _CYGHEAPSIZE_SLOP)
 #define CYGHEAPSIZE_MIN (sizeof (init_cygheap) + (10000 * sizeof (fhandler_union)))
 
@@ -376,4 +376,3 @@ char *__stdcall cstrdup1 (const char *) __attribute__ ((regparm(1)));
 void __stdcall cfree_and_set (char *&, char * = NULL) __attribute__ ((regparm(2)));
 void __stdcall cygheap_init ();
 extern DWORD _cygheap_start;
-}