thread fixes

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2251 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2008-05-28 17:18:35 +00:00
parent f6160fd5d6
commit ade7b34d49
4 changed files with 49 additions and 7 deletions

View File

@@ -3871,7 +3871,7 @@ static Int
if (tokstart != NULL && tokstart->Tok != Ord (eot_tok)) {
/* we got the end of file from an abort */
if (Yap_ErrorMessage &&
strcmp(Yap_ErrorMessage,"Abort")) {
!strcmp(Yap_ErrorMessage,"Abort")) {
Yap_clean_tokenizer(tokstart, Yap_VarTable, Yap_AnonVarTable);
return FALSE;
}