www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22166] New: On OpenBSD and Android make

https://issues.dlang.org/show_bug.cgi?id=22166

          Issue ID: 22166
           Summary: On OpenBSD and Android make core.sys.posix.arpa.inet:
                    htonl, htons, ntohl, & ntohs work correctly on big
                    endian architectures
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

Currently on OpenBSD and Android, core.sys.posix.arpa.inet: htonl, htons,
ntohl, & ntohs always return the argument with its byte order reverse. They
should return the argument unchanged on big endian architectures.

--
Aug 01 2021