Closed
Bug 783843
Opened 12 years ago
Closed 12 years ago
SCTP library doesn't consistently use HAVE_SIN_LEN, and we don't set it in configure
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
People
(Reporter: jesup, Assigned: jesup)
Details
(Whiteboard: [qa-])
Attachments
(3 files)
14.98 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
1.42 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
3.45 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
Some code in the SCTP library uses HAVE_SIN_LEN (and it's in the configure.in for the library), but most code doesn't (and uses slightly varying OS selections to control reference to sin_len).
Add HAVE_SIN_LEN to our configure.in, and modify our code and the SCTP library to use it consistently.
Attachment #653127 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 1•12 years ago
|
||
Comment on attachment 653127 [details] [diff] [review]
Patch configure.in and netwerk/sctp for HAVE_SIN_LEN
Review of attachment 653127 [details] [diff] [review]:
-----------------------------------------------------------------
Seems to be missing the changes to configure.
Attachment #653127 -
Flags: review?(ted.mielczarek) → review-
Assignee | ||
Comment 2•12 years ago
|
||
The configure changes got attached to the wrong bug in the queue...
Attachment #656559 -
Flags: review?(ted.mielczarek)
Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 653127 [details] [diff] [review]
Patch configure.in and netwerk/sctp for HAVE_SIN_LEN
remarking now that the configure changes are here too
This is the part that gets promoted to the usrsctp team for upstreaming
Attachment #653127 -
Flags: review- → review?(ted.mielczarek)
Comment 4•12 years ago
|
||
Comment on attachment 656559 [details] [diff] [review]
configure.in changes
Review of attachment 656559 [details] [diff] [review]:
-----------------------------------------------------------------
::: configure.in
@@ +2956,5 @@
>
> +dnl Check for sin_len - used by SCTP; only appears in Mac/*BSD generally
> +MOZ_CHECK_HEADERS(sys/types.h)
> +AC_MSG_CHECKING(for sockaddr_in.sin_len)
> +AC_CACHE_VAL(ac_cv_sockaddr_in_sin_len,
You probably want to use AC_CACHE_CHECK here.
Attachment #656559 -
Flags: review?(ted.mielczarek) → review+
Updated•12 years ago
|
Attachment #653127 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 658107 [details] [diff] [review]
Clean up HAVE_SIN_LEN/HAVE_SIN6_LEN checks
This should be much cleaner. Different enough to need a quick re-review though.
Attachment #658107 -
Flags: review?(ted.mielczarek)
Updated•12 years ago
|
Attachment #658107 -
Flags: review?(ted.mielczarek) → review+
Updated•12 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•