[Thuban-list] Re: Shapelib: dbfopen.c addition
bh at intevation.de
Thu Dec 4 20:16:23 CET 2003
Frank Warmerdam <warmerdam at pobox.com> writes:
> I see there is already a DBFUpdateHeader() function which accomplishing
> pretty much the same as DBFCommit(), but also ensures that the header is
> in a consistent state (the record count appears there).
I ran into that (wrong record count when appending records) when I
hacked on the drawshape extension :)
> I think it would be best if Thuban used that instead if possible.
Indeed. This is only available in CVS so far AFAICT. Is it safe to
simply copy that function into our code or would it be better to use
dbfopen.c from CVS?
Intevation GmbH http://intevation.de/
More information about the Thuban-list