Ticket #2326 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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

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

Change History

Changed 5 years ago by iquiw

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.10.1

Thanks for the patch, we'll take a look

Changed 5 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

Pushed, thanks!

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

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.