[fpc-devel]Possible TDbf bug and patch

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Tue Jul 20 22:59:53 CEST 2004


On Tue, 20 Jul 2004, Jesus Reyes wrote:

> Hi, I think I found a bug in tdbf. One can scroll forward to the end
> of the dataset, in the last record if one scrolls forward one more
> time, the dataset enters the EOF state. The problem is that also the
> first record of the buffer (because of how shifting buffers works)
> gets incorrectly marked as invalid. As result, one cannot scroll
> backwards anymore. I'm not well aware of dbf internals so please
> check the patch, it did fix the problem for me.

You would better send this patch to Misha Nelissen on the Lazarus list. He
maintains TDbf. If he integrates it, the changes will be included in the
FCL.

Please also check the version, the latest version included in the FCL,
as of yesterday, is 6.3.7.

Michael.




More information about the fpc-devel mailing list