[Asterisk-code-review] build: Fix ast sockaddr initialization to be more portable (asterisk[certified/11.6])

Joshua Colp asteriskteam at digium.com
Thu Jul 21 07:35:31 CDT 2016


Hello Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/3262

to look at the new patch set (#2).

Change subject: build:  Fix ast_sockaddr initialization to be more portable
......................................................................

build:  Fix ast_sockaddr initialization to be more portable

A change to glibc 2.22 changed the order of the sockadddr_storage
members which caused the places where we do an initialization of
ast_sockaddr with '{ { 0, 0, } }' to fail compilation.  Those
initializers (which we shouldn't have been using anyway) have been
replaced with memsets.


Change-Id: Idd1b3b320903d8771bfe221f0b015685de628fa4
(cherry picked from commit fd5467ce01643e51f0f80c07af0098ab49591947)
---
M channels/chan_sip.c
M tests/test_netsock2.c
2 files changed, 6 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/62/3262/2
-- 
To view, visit https://gerrit.asterisk.org/3262
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idd1b3b320903d8771bfe221f0b015685de628fa4
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: certified/11.6
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>



More information about the asterisk-code-review mailing list