fix another trail overflow.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2064 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
ff8213e506
commit
44e4a953e4
2
C/grow.c
2
C/grow.c
@ -1328,7 +1328,7 @@ execute_growstack(long size0, int from_trail, int in_parser, tr_fr_ptr *old_trp,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
XDiff = HDiff = 0;
|
XDiff = HDiff = 0;
|
||||||
GDiff0=0;
|
GDiff0=GDiff;
|
||||||
#if USE_SYSTEM_MALLOC
|
#if USE_SYSTEM_MALLOC
|
||||||
if (from_trail) {
|
if (from_trail) {
|
||||||
TrDiff = LDiff = GDiff;
|
TrDiff = LDiff = GDiff;
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
<h2>Yap-5.1.3:</h2>
|
<h2>Yap-5.1.3:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li> FIXED: bad handling of trail overflow.</li>
|
||||||
<li> FIXED: overflow at entry goal (obs from Paulo Moura).</li>
|
<li> FIXED: overflow at entry goal (obs from Paulo Moura).</li>
|
||||||
<li> FIXED: bug with signals while process wasa dying (obs from Paulo Moura).</li>
|
<li> FIXED: bug with signals while process wasa dying (obs from Paulo Moura).</li>
|
||||||
<li> FIXED: compilation in OSX/64 (patches from Will Benton).</li>
|
<li> FIXED: compilation in OSX/64 (patches from Will Benton).</li>
|
||||||
|
@ -36,6 +36,7 @@ PROGRAMS= $(srcdir)/apply_macros.yap \
|
|||||||
$(srcdir)/gensym.yap \
|
$(srcdir)/gensym.yap \
|
||||||
$(srcdir)/hacks.yap \
|
$(srcdir)/hacks.yap \
|
||||||
$(srcdir)/heaps.yap \
|
$(srcdir)/heaps.yap \
|
||||||
|
$(srcdir)/lineutils.yap \
|
||||||
$(srcdir)/listing.yap \
|
$(srcdir)/listing.yap \
|
||||||
$(srcdir)/lists.yap \
|
$(srcdir)/lists.yap \
|
||||||
$(srcdir)/logtalk.yap \
|
$(srcdir)/logtalk.yap \
|
||||||
|
@ -809,7 +809,6 @@ TrNode copy_child_nodes(TrNode parent_dest, TrNode child_source) {
|
|||||||
return child_dest;
|
return child_dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static
|
static
|
||||||
void traverse_tries_join(TrNode parent_dest, TrNode parent_source){
|
void traverse_tries_join(TrNode parent_dest, TrNode parent_source){
|
||||||
TrNode child_dest, child_source;
|
TrNode child_dest, child_source;
|
||||||
|
Reference in New Issue
Block a user