Ticket #2326 (closed bug: fixed)
Make configure check sockaddr.sa_len
|Reported by:||iquiw||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
My previous patch attached in Ticket#2103 uses "#if defined(netbsd_TARGETOS)", so does not care other systems that have member s*_len (length of struct sockaddr_*) of struct sockaddr_*.
This one check if struct sockaddr has member sa_len by configure script and uses "#if defined(HAVE_STRUCT_SOCKADDR_SA_LEN)" to determine whether to poke s*_len or not.