HomeFreeBSD

gdtoa: fix endianness issue on powerpc64le

Description

gdtoa: fix endianness issue on powerpc64le

The current code assumes running on big-endian, which causes issues with
e.g. strtod() as reported on https://github.com/ocaml/ocaml/pull/10837#issuecomment-1605346422
This is probably a leftover from when powerpc64le was introduced.

Approved by: jhibbits (on IRC)

Details

Provenance
pkubajAuthored on Jun 28 2023, 11:41 PM
Parents
rG7b5e687355af: zfs: merge openzfs/zfs@a9d6b0690
Branches
Unknown
Tags
Unknown