*** 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:
parent
e6de26a000
commit
c1480cfd91
@ -859,8 +859,8 @@ p_prompt (void)
|
||||
#include <readline/readline.h>
|
||||
#endif
|
||||
|
||||
/* extern void add_history (const char *);
|
||||
*/
|
||||
extern void add_history (const char *);
|
||||
|
||||
static char *ttyptr = NULL;
|
||||
|
||||
|
||||
|
@ -1028,7 +1028,7 @@ SearchForTrailFault(siginfo_t *siginfo)
|
||||
*/
|
||||
#if OS_HANDLES_TR_OVERFLOW && !USE_SYSTEM_MALLOC
|
||||
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)) {
|
||||
Yap_Error(OUT_OF_TRAIL_ERROR, TermNil, "YAP failed to reserve %ld bytes in growtrail", 64*1024L);
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ extern char *bp;
|
||||
|
||||
#define mcell(X) bp[X-(CELL *)Yap_GlobalBase]
|
||||
|
||||
static inline int
|
||||
static inline Int
|
||||
MARKED_PTR(CELL* ptr)
|
||||
{
|
||||
return mcell(ptr) & MARK_BIT;
|
||||
|
Reference in New Issue
Block a user