Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MsgHdr.hsc: fix field 'struct msghdr::msg_namelen' size #81

Closed
wants to merge 1 commit into from
Closed

MsgHdr.hsc: fix field 'struct msghdr::msg_namelen' size #81

wants to merge 1 commit into from

Conversation

trofi
Copy link
Contributor

@trofi trofi commented Jan 13, 2013

msg_namelen has a 'socklen_t' type on linux (always 32 bits).
Using CSize there breaks 64-bit BE platforms.

testSendManyTo: [Failed]
ERROR: sendmsg: invalid argument (Destination address required)

Caught by testSendManyTo test on ppc64:

Gentoo-bug: http://bugs.gentoo.org/436640
Reported-by: Anthony Basile blueness@gentoo.org
Signed-off-by: Sergei Trofimovich slyfox@gentoo.org

msg_namelen has a 'socklen_t' type on linux (always 32 bits).
Using CSize there breaks 64-bit BE platforms.

  testSendManyTo: [Failed]
       ERROR: sendmsg: invalid argument (Destination address required)

Caught by testSendManyTo test on ppc64:

Gentoo-bug: http://bugs.gentoo.org/436640
Reported-by: Anthony Basile <blueness@gentoo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
@tibbe tibbe closed this in 870ca5f Jan 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants