Bug in mremap causing new Metis to crash

This commit is contained in:
mattijs 2008-05-06 17:34:11 +01:00
parent 6754032235
commit 0eb0f5fa1a

View File

@ -584,7 +584,13 @@ MAX_RELEASE_CHECK_RATE default: 255 unless not HAVE_MMAP
#endif /* MMAP_CLEARS */
#ifndef HAVE_MREMAP
#ifdef linux
#define HAVE_MREMAP 1
/*
* From http://glaros.dtc.umn.edu/flyspray/task/29
* workaround bug in mremap:
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457337
*/
/* #define HAVE_MREMAP 1 */
#define HAVE_MREMAP 0
#else /* linux */
#define HAVE_MREMAP 0
#endif /* linux */