Open GoogleCodeExporter opened 9 years ago
Actually, it could be the problem is that I am running this on PowerPC.
Specifically, I am thinking the calls to
unpack "ddouble" which are marked as "machine dependent". Running on Intel
(10.5.7) does not have this
problem, and it appears that dates are coming across wonky on PowerPC but look
fine in Intel. sigh.
Original comment by mwcre...@gmail.com
on 30 May 2009 at 5:24
OK, it appears the problem was endianess after all, and not some difference in
the file format. Converting the
packed doubles to little endian seems to fix the problem. Ignore the previous
patch, attached is a new patch
which checks endianess and converts to little endian if necessary. I have
tested it on both Intel and PowerPC
macs.
Original comment by mwcre...@gmail.com
on 30 May 2009 at 6:00
Attachments:
Original issue reported on code.google.com by
mwcre...@gmail.com
on 29 May 2009 at 6:22Attachments: