Skip to content

Commit 75b5da9

Browse files
committed
Only call Crash() from Terminate()
1 parent 0d07456 commit 75b5da9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)