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:
parent
bbeb11f0d0
commit
e7a8249e02
@ -1010,7 +1010,7 @@ SearchForTrailFault(void)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
/* fprintf(stderr,"Catching a sigsegv at %p with %p\n", TR, TrailTop); */
|
/* fprintf(stderr,"Catching a sigsegv at %p with %p\n", TR, TrailTop); */
|
||||||
#endif
|
#endif
|
||||||
#if !OS_HANDLES_TR_OVERFLOW
|
#if OS_HANDLES_TR_OVERFLOW
|
||||||
if ((TR > (tr_fr_ptr)TrailTop-1024 &&
|
if ((TR > (tr_fr_ptr)TrailTop-1024 &&
|
||||||
TR < (tr_fr_ptr)TrailTop+(64*1024))|| DBTrailOverflow()) {
|
TR < (tr_fr_ptr)TrailTop+(64*1024))|| DBTrailOverflow()) {
|
||||||
if (!growtrail(64 * 1024L)) {
|
if (!growtrail(64 * 1024L)) {
|
||||||
|
Reference in New Issue
Block a user