Comparing the struct addrinfo declarations in <netdb.h>
struct addrinfo {
...
#ifdef __sparcv9
int _ai_pad;
#endif /* __sparcv9 */
...
};
In the extern(C) core.sys bindings, there's a mismatch here; the system
version has no _aid_pad member on 32-bit SPARC.
libphobos/ChangeLog:
PR d/90718
* libdruntime/core/sys/posix/netdb.d (Solaris): Include _ai_pad member
in struct addrinfo only when targeting SPARC64.
+2020-04-27 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ PR d/90718
+ * libdruntime/core/sys/posix/netdb.d (Solaris): Include _ai_pad member
+ in struct addrinfo only when targeting SPARC64.
+
2020-04-27 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/90719
int ai_socktype;
int ai_protocol;
- version (SPARC)
- int _ai_pad;
- else version (SPARC64)
+ version (SPARC64)
int _ai_pad;
socklen_t ai_addrlen;