osl-incubator / pyreaddbc

GNU Affero General Public License v3.0
10 stars 6 forks source link

fix: Resolve Buffer 32 Issue in DBC to DBF Database Conversion #7

Closed esloch closed 10 months ago

esloch commented 10 months ago

The line buf[header-1] = 0x0D; in the dbc2dbf function sets the last byte of the file header to the ASCII code for carriage return (CR). This is done to ensure that the header ends with a CR character, which is required by the dBase format. The dBase format is a file format used for database management systems, and the .dbf file extension is commonly used for dBase files.