Menu

Commit [r8967]  Maximize  Restore  History

fixed bug in when check for interned_struct was done. findall changes

the structure of a Prolog term during copying to heap to preserve
sharing, so a structure subterm that was previously copied has a heap
pointer in place of the psc pointer as the first word. Testing for
interned structures didn't handle this. The fix is to move the intern
test to after the already-copied test. (I have no real idea why this
didn't trip us up before.)

dwarren 2017-01-19

changed /trunk/XSB/emu/findall.c
/trunk/XSB/emu/findall.c Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB