[ https://issues.apache.org/jira/browse/THRIFT-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044009#comment-13044009 ]
Hudson commented on THRIFT-1171: -------------------------------- Integrated in Thrift #155 (See [https://builds.apache.org/hudson/job/Thrift/155/]) 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. > Perl write/readDouble assumes little-endian platform > ---------------------------------------------------- > > Key: THRIFT-1171 > URL: https://issues.apache.org/jira/browse/THRIFT-1171 > Project: Thrift > Issue Type: Bug > Components: Perl - Library > Affects Versions: 0.7 > Environment: Any big-endian system such as PPC Mac, Sparc, etc. > Reporter: Andy Grundman > Assignee: Andy Grundman > Priority: Critical > Labels: patch > Fix For: 0.7 > > Attachments: perl-big-endian-double.patch > > > 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. Patch is attached. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira