From b6af3095da3ee6e8562b6b1de5ceed4aae93af39 Mon Sep 17 00:00:00 2001 From: vsc Date: Mon, 7 Mar 2005 17:49:16 +0000 Subject: [PATCH] small fixes git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1261 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- C/absmi.c | 7 +++++-- C/save.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/C/absmi.c b/C/absmi.c index aff9ade23..133354cf6 100644 --- a/C/absmi.c +++ b/C/absmi.c @@ -10,8 +10,11 @@ * * * File: absmi.c * * comments: Portable abstract machine interpreter * -* Last rev: $Date: 2005-03-04 20:29:55 $,$Author: ricroc $ * +* Last rev: $Date: 2005-03-07 17:49:14 $,$Author: vsc $ * * $Log: not supported by cvs2svn $ +* Revision 1.159 2005/03/04 20:29:55 ricroc +* bug fixes for YapTab support +* * Revision 1.158 2005/03/01 22:25:07 vsc * fix pruning bug * make DL_MALLOC less enthusiastic about walking through buckets. @@ -281,8 +284,8 @@ void prof_alrm(int signo, siginfo_t *si, ucontext_t *sc) fprintf(FProf,"%p %p\n", (void *) oldpc, P); return; } -#endif fprintf(FProf,"0 %p\n", PREG); +#endif return; } diff --git a/C/save.c b/C/save.c index cd955fc14..ee37dc771 100644 --- a/C/save.c +++ b/C/save.c @@ -185,7 +185,7 @@ myread(int fd, char *buff, Int len) while (len > 0) { int nchars = read(fd, buff, len); if (nchars < 0) { - return do_system_error(PERMISSION_ERROR_INPUT_PAST_END_OF_STREAM, "bad read on saved state", ); + return do_system_error(PERMISSION_ERROR_INPUT_PAST_END_OF_STREAM, "bad read on saved state"); } len -= nchars; buff += nchars;