Skip to content

libc: Fix definition of sockaddr_storage on 32-bit linux #23450

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 18, 2015

Conversation

alexcrichton
Copy link
Member

The alignment field is actually a "pointer sized" type instead of always i64,
requiring that the size of the padding field is also calculated slightly
differently.

Closes #23425

The alignment field is actually a "pointer sized" type instead of always i64,
requiring that the size of the padding field is also calculated slightly
differently.

Closes rust-lang#23425
@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@brson
Copy link
Contributor

brson commented Mar 17, 2015

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Mar 17, 2015

📌 Commit 71982c2 has been approved by brson

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 18, 2015
…r=brson

 The alignment field is actually a \"pointer sized\" type instead of always i64,
requiring that the size of the padding field is also calculated slightly
differently.

Closes rust-lang#23425
@bors bors merged commit 71982c2 into rust-lang:master Mar 18, 2015
@alexcrichton alexcrichton deleted the fix-sockaddr-storage branch March 19, 2015 03:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sockaddr_storage in libc is incorrectly defined (on 32 bit systems at least)
4 participants