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

change type of INADDR constants to in_addr_t #698

Merged
merged 1 commit into from
Jul 25, 2017

Conversation

ndusart
Copy link
Contributor

@ndusart ndusart commented Jul 25, 2017

These should be in_addr_t (u32) instead of c_int

This is a breaking change but it is just breaking newlib platforms for now.

@alexcrichton Do you prefer that I split the definition in submodules, to keep c_int in newlib and update the others ?

@alexcrichton
Copy link
Member

@bors: r+

Nah looks fine to me!

@bors
Copy link
Contributor

bors commented Jul 25, 2017

📌 Commit ef1cb07 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Jul 25, 2017

⌛ Testing commit ef1cb07 with merge 27a319e...

bors added a commit that referenced this pull request Jul 25, 2017
change type of INADDR constants to in_addr_t

These should be `in_addr_t` (u32) instead of `c_int`

This is a breaking change but it is just breaking newlib platforms for now.

@alexcrichton Do you prefer that I split the definition in submodules, to keep `c_int` in newlib and update the others ?
@bors
Copy link
Contributor

bors commented Jul 25, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 27a319e to master...

@bors bors merged commit ef1cb07 into rust-lang:master Jul 25, 2017
@ndusart ndusart deleted the in_addr_t branch July 26, 2017 09:14
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.

3 participants