in XNET 5.2, ntohl() and htonl() are typed as follows: uint32_t ntohl(uint32_t x); and ntohs() and htons() are: uint16_t ntohs(uint16_t x); freebsd src/sys/i386/include/endian.h uses u_long and u_short, which are different from these types, and causes problem in portable appliation programming. How-To-Repeat: code inspection
Responsible Changed From-To: freebsd-bugs->bde I tried to fix this some time ago (sys/i386/include/endian.h 1.19). Bruce eventually mostly reverted the change (I didn't object), so I think this PR belongs to him :*D
State Changed From-To: open->closed This was fixed some time ago in -CURRENT. There are no plans to fix this this in -STABLE.