small write fixes.

This commit is contained in:
Vitor Santos Costa
2012-02-14 09:10:07 +00:00
parent 8d9c5617eb
commit 6403b4793a
4 changed files with 26 additions and 54 deletions

View File

@@ -2761,7 +2761,7 @@ YAP_Write(Term t, IOSTREAM *stream, int flags)
{
BACKUP_MACHINE_REGS();
Yap_dowrite (t, stream, flags, 1200);
Yap_plwrite (t, stream, 0, flags, 1200);
RECOVER_MACHINE_REGS();
}