This commit is contained in:
Vítor Santos Costa 2015-10-05 10:27:25 +01:00
parent c8ea14057c
commit 4ed6e4fae9

View File

@ -2653,7 +2653,7 @@ YAP_InitConsult(int mode, const char *filename, int *osnop)
GLOBAL_Stream[sno].name = Yap_LookupAtom( filename );
GLOBAL_Stream[sno].user_name = MkAtomTerm( Yap_LookupAtom( filename ) );
RECOVER_MACHINE_REGS();
UNLOCK(GLOBAL_Stream[sno].streamlock);
UNLOCK(GLOBAL_Stream[sno].streamlock);
return sno;
}