diff --git a/check/fixes.frm b/check/fixes.frm index 3d7c84b8..334e5a92 100644 --- a/check/fixes.frm +++ b/check/fixes.frm @@ -2983,7 +2983,7 @@ id g(N?) = 1; print; .end #require linux? -#ulimit -v 8_000_000 +#ulimit -v 8_200_000 # We assume more memory than a 32bit system can provide #require wordsize >= 4 assert succeeded? diff --git a/sources/tools.c b/sources/tools.c index cffa3491..eb67fe62 100644 --- a/sources/tools.c +++ b/sources/tools.c @@ -2226,7 +2226,6 @@ void *Malloc1(LONG size, const char *messageifwrong) char *t, *u; int i; LOCK(MallocLock); -/* MLOCK(ErrorMessageLock); */ if ( size == 0 ) { MesPrint("%wAsking for 0 bytes in Malloc1"); } @@ -2244,13 +2243,10 @@ void *Malloc1(LONG size, const char *messageifwrong) MLOCK(ErrorMessageLock); #endif MesPrint("Attempted to allocate %l bytes.", size); - Error1("No memory while allocating ",(UBYTE *)messageifwrong); + MesPrint("@No memory while allocating %s", (UBYTE *)messageifwrong); #ifndef MALLOCDEBUG MUNLOCK(ErrorMessageLock); #else -/* MUNLOCK(ErrorMessageLock); */ -#endif -#ifdef MALLOCDEBUG UNLOCK(MallocLock); #endif Terminate(-1);