www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - structed addrinfo: bad order of members

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


file: dmd/src/phobos/std/c/linux/socket.d

current order:
# struct addrinfo
# {
#     int32_t ai_flags; 
#     int32_t ai_family;
#     int32_t ai_socktype;
#     int32_t ai_protocol;
#     size_t ai_addrlen;
#     char* ai_canonname;
#     sockaddr* ai_addr;
#     addrinfo* ai_next;
# }

expected order:
# struct addrinfo
# {
#     int32_t ai_flags; 
#     int32_t ai_family;
#     int32_t ai_socktype;
#     int32_t ai_protocol;
#     size_t ai_addrlen;
#     sockaddr* ai_addr;
#     char* ai_canonname;
#     addrinfo* ai_next;
# }

ai_addr and ai_canonname are in the wrong order.

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFD2ni43w+/yD4P9tIRAqVXAJ96z50D/zSmvNA2o0+fb1+rpc+kcgCgk11h
uO077T2LaBCIrgZC+FVc0w8=
=T7mQ
-----END PGP SIGNATURE-----
Jan 27 2006