search for trail fault was broken.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@666 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2002-10-30 20:30:16 +00:00
parent bbeb11f0d0
commit e7a8249e02
1 changed files with 1 additions and 1 deletions

View File

@ -1010,7 +1010,7 @@ SearchForTrailFault(void)
#ifdef DEBUG
/* fprintf(stderr,"Catching a sigsegv at %p with %p\n", TR, TrailTop); */
#endif
#if !OS_HANDLES_TR_OVERFLOW
#if OS_HANDLES_TR_OVERFLOW
if ((TR > (tr_fr_ptr)TrailTop-1024 &&
TR < (tr_fr_ptr)TrailTop+(64*1024))|| DBTrailOverflow()) {
if (!growtrail(64 * 1024L)) {