commit | 5309bd022959bed1592d3d70da97eaebc98aa282 | [log] [tgz] |
---|---|---|
author | Jake Farrell <jfarrell@apache.org> | Fri Jun 03 17:03:00 2011 +0000 |
committer | Jake Farrell <jfarrell@apache.org> | Fri Jun 03 17:03:00 2011 +0000 |
tree | 215071107d16e2289612f1ee4a351d34f26f6ce7 | |
parent | 73b8dfc92ce2ca51d098e3780d84665698a4a94d [diff] |
Thrift-1171: Perl write/readDouble assumes little-endian platform Client: perl Patch: Andy Grundman The code for handling doubles uses pack 'd' (pack to native byte order) and then reverses the bytes. This works on little-endian systems but will produce backwards data on big-endian systems. git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1131110 13f79535-47bb-0310-9956-ffa450edef68