libdmg-hfsplus icon indicating copy to clipboard operation
libdmg-hfsplus copied to clipboard

Make it work for 32 bits platform with _FILE_OFFSET_BITS=64

Open jief666 opened this issue 6 years ago • 1 comments

There was a arithmetic problem on 32 bits platform when off_t is 64 bits. Basically, we have to make sure to convert to 64 bits BEFORE the multiplication. Hence things like : ((off_t)extent->startBlock) * blockSize.

jief666 avatar Jun 16 '18 13:06 jief666

After this one, if you're still interested in that project, I can submit few pull requests. I worked on : removing memory leaks removing warning extended attributes sparsebundle, clear or encrypted, support adding fuse support UTF8 encoding As of today, mounting an image with libdmg is the exact same as mounting it on Mac. Test with huge images 300-400TB on Mac and on linux 32 bits.

jief666 avatar Jul 10 '18 17:07 jief666