Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#2326 closed bug (fixed)

Make configure check sockaddr.sa_len

Reported by: iquiw Owned by:
Priority: normal Milestone: 6.10.1
Component: libraries/network Version: 6.8.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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.

Attachments (1)

sockaddr_sa_len.patch (9.9 KB) - added by iquiw 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by iquiw

Attachment: sockaddr_sa_len.patch added

comment:1 Changed 11 years ago by igloo

difficulty: Unknown
Milestone: 6.10.1

Thanks for the patch, we'll take a look

comment:2 Changed 11 years ago by simonmar

Resolution: fixed
Status: newclosed

Pushed, thanks!

Sun Jun  1 09:44:51 BST 2008  Iku Iwasa <>                   
  * Check sockaddr.sa_len by configure

comment:3 Changed 11 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:4 Changed 11 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.