[ 
https://issues.apache.org/jira/browse/THRIFT-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jake Farrell closed THRIFT-1171.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7
         Assignee: Andy Grundman

Applied to trunk, thanks for the patch

> 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

Reply via email to