[fpc-devel]Possible TDbf bug and patch

Jesus Reyes jesusrmx at yahoo.com.mx
Tue Jul 20 19:17:32 CEST 2004


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.

Regards.

Jesus Reyes A.

_________________________________________________________
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbf.diff.gz
Type: application/x-perl
Size: 474 bytes
Desc: dbf.diff.gz
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20040720/325048ea/attachment.bin>


More information about the fpc-devel mailing list