Re: Phix+EuGTK
- Posted by petelomax Jan 29, 2021
- 1770 views
irv said...
I wouldn't be concerned about this
I am. The good news is I've just reproduced it - and the problem is in either dict.e or structs.e
Update: The problem is somewhere in dict.e
Update: pretty sure this is it, in dict.e routine deleteNode, line 228:
trees[tid][root+KEY] = key --bugfix 29/1/21: trees[tid][root+DATA] = trees[tid][temp+DATA]
It was copying the key but not the data. I will have to run quite a few more tests, but so far that looks good.
Update: test\t67dicts.exw added: detects it properly if I comment out that fix, no other problems found.
Many thanks for finding a very nasty bug in a critical component!