Skip to content

Commit d776835

Browse files
magvjodavies
authored andcommitted
Only call Crash() from Terminate()
1 parent 1f9a1f6 commit d776835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sources/sort.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ WORD PutOut(PHEAD WORD *term, POSITION *position, FILEHANDLE *fi, WORD ncomp)
15741574
MLOCK(ErrorMessageLock);
15751575
MesPrint("Ran into precompressed term");
15761576
MUNLOCK(ErrorMessageLock);
1577-
Crash();
1577+
Terminate(-1);
15781578
return(-1);
15791579
}
15801580
}
@@ -1651,7 +1651,7 @@ WORD PutOut(PHEAD WORD *term, POSITION *position, FILEHANDLE *fi, WORD ncomp)
16511651
MLOCK(ErrorMessageLock);
16521652
MesPrint("CompressSize of %10l is insufficient",AM.CompressSize);
16531653
MUNLOCK(ErrorMessageLock);
1654-
Crash();
1654+
Terminate(-1);
16551655
return(-1);
16561656
}
16571657
}

0 commit comments

Comments
 (0)