[Issue 22166] New: On OpenBSD and Android make core.sys.posix.arpa.inet: htonl, htons, ntohl, & ntohs work correctly on big endian architectures
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 1 20:40:08 UTC 2021
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 at puremagic.com
Reporter: n8sh.secondary at 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.
--
More information about the Digitalmars-d-bugs
mailing list