* cygheap.h (CYGHEAP_SLOP): Reduce drastically to avoid collisions.

This commit is contained in:
Christopher Faylor 2004-04-11 04:07:18 +00:00
parent 3301015bdb
commit 0cb38eb551
2 changed files with 5 additions and 2 deletions

View 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> 2004-04-11 Pierre Humblet <pierre.humblet@ieee.org>
* dtable.cc (dtable::extend): Change order of memcpy and cfree. * dtable.cc (dtable::extend): Change order of memcpy and cfree.

View File

@ -272,7 +272,7 @@ struct init_cygheap
void close_ctty (); 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 (sizeof (init_cygheap) + (20000 * sizeof (fhandler_union)) + _CYGHEAPSIZE_SLOP)
#define CYGHEAPSIZE_MIN (sizeof (init_cygheap) + (10000 * sizeof (fhandler_union))) #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 cfree_and_set (char *&, char * = NULL) __attribute__ ((regparm(2)));
void __stdcall cygheap_init (); void __stdcall cygheap_init ();
extern DWORD _cygheap_start; extern DWORD _cygheap_start;
}