Caleb Shay
-
2012-07-11
MacOSX >= 10.5 does not have separate fopen64 family functions, the regular fopen family are all 64-bit. Additionally, the comment code in trrntzip.c was using regular fseeko instead of fseeko64, and since comments are at the end of the zip file, this would be an issue for large files.
Also, it appears that the define for USE_FILE32API was wrong mapping fseeko64 to fseek, rather than fseeko. Same for ftello64.