olemb / dbfread

Read DBF Files with Python
MIT License
220 stars 91 forks source link

Fix build and test for big-endian #71

Open azouhr opened 1 month ago

azouhr commented 1 month ago

In dbfread, struct.unpack by default uses the machine local endianess. However, when using a big-endian machine, this leads to failures in the test suite. This change enforces the usage of little-endian in struct.unpack.