Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion check/fixes.frm
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
6 changes: 1 addition & 5 deletions sources/tools.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand All @@ -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);
Expand Down