Skip to content

Fix uname on FreeBSD #1196

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

Merged
merged 1 commit into from
Jan 3, 2019
Merged

Fix uname on FreeBSD #1196

merged 1 commit into from
Jan 3, 2019

Conversation

asomers
Copy link
Contributor

@asomers asomers commented Jan 3, 2019

On FreeBSD, uname is an inline function. The uname that is present in
libc.so is for FreeBSD 1.0 compatibility. It expects a buffer of a
different size.

Fixes #1190
Reported-by: Alex Zepeda

On FreeBSD, uname is an inline function.  The uname that is present in
libc.so is for FreeBSD 1.0 compatibility.  It expects a buffer of a
different size.

Fixes rust-lang#1190
Reported-by: Alex Zepeda
@rust-highfive
Copy link

r? @alexcrichton

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

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Jan 3, 2019

📌 Commit 36baf93 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Jan 3, 2019

⌛ Testing commit 36baf93 with merge 0db9a16...

bors added a commit that referenced this pull request Jan 3, 2019
Fix uname on FreeBSD

On FreeBSD, uname is an inline function.  The uname that is present in
libc.so is for FreeBSD 1.0 compatibility.  It expects a buffer of a
different size.

Fixes #1190
Reported-by: Alex Zepeda
@bors
Copy link
Contributor

bors commented Jan 3, 2019

💔 Test failed - status-travis

@gnzlbg
Copy link
Contributor

gnzlbg commented Jan 3, 2019

@bors: retry

@bors
Copy link
Contributor

bors commented Jan 3, 2019

⌛ Testing commit 36baf93 with merge 22b08f8...

bors added a commit that referenced this pull request Jan 3, 2019
Fix uname on FreeBSD

On FreeBSD, uname is an inline function.  The uname that is present in
libc.so is for FreeBSD 1.0 compatibility.  It expects a buffer of a
different size.

Fixes #1190
Reported-by: Alex Zepeda
@bors
Copy link
Contributor

bors commented Jan 3, 2019

☀️ Test successful - checks-cirrus, status-appveyor, status-travis
Approved by: alexcrichton
Pushing 22b08f8 to master...

@bors bors merged commit 36baf93 into rust-lang:master Jan 3, 2019
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.

5 participants