*** empty log message ***

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1296 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
rslopes 2005-05-26 18:26:27 +00:00
parent e6de26a000
commit c1480cfd91
3 changed files with 4 additions and 4 deletions

View File

@ -859,8 +859,8 @@ p_prompt (void)
#include <readline/readline.h> #include <readline/readline.h>
#endif #endif
/* extern void add_history (const char *); extern void add_history (const char *);
*/
static char *ttyptr = NULL; static char *ttyptr = NULL;

View File

@ -1028,7 +1028,7 @@ SearchForTrailFault(siginfo_t *siginfo)
*/ */
#if OS_HANDLES_TR_OVERFLOW && !USE_SYSTEM_MALLOC #if OS_HANDLES_TR_OVERFLOW && !USE_SYSTEM_MALLOC
if ((ptr > (void *)Yap_TrailTop-1024 && if ((ptr > (void *)Yap_TrailTop-1024 &&
TR < (void *)Yap_TrailTop+(64*1024))) { TR < (tr_fr_ptr) Yap_TrailTop+(64*1024))) {
if (!Yap_growtrail(64*1024, TRUE)) { if (!Yap_growtrail(64*1024, TRUE)) {
Yap_Error(OUT_OF_TRAIL_ERROR, TermNil, "YAP failed to reserve %ld bytes in growtrail", 64*1024L); Yap_Error(OUT_OF_TRAIL_ERROR, TermNil, "YAP failed to reserve %ld bytes in growtrail", 64*1024L);
} }

View File

@ -96,7 +96,7 @@ extern char *bp;
#define mcell(X) bp[X-(CELL *)Yap_GlobalBase] #define mcell(X) bp[X-(CELL *)Yap_GlobalBase]
static inline int static inline Int
MARKED_PTR(CELL* ptr) MARKED_PTR(CELL* ptr)
{ {
return mcell(ptr) & MARK_BIT; return mcell(ptr) & MARK_BIT;