ckruse / CFPropertyList

Read, write and manipulate both binary and XML property lists as defined by apple
MIT License
212 stars 47 forks source link

Changes "native format" to "little endian" format (fixes #46). #47

Closed voxik closed 7 years ago

voxik commented 7 years ago

So far, the "native format" for reading real numbers and dates was used. That meant that the test suite, which is reading pregenerated .plist files, was working on LE platforms, but was failing on BE platforms (ppc64). This patch make the test suite pass on all platforms by explicitly spefiying the "little endian" format of real numbers and dates fields.