Skip to content

Conversation

@i509VCB
Copy link
Contributor

@i509VCB i509VCB commented Oct 6, 2021

Rationale

I need this function specifically to re-implement some parts of libdrm in Rust for FreeBSD: https://cgit.freedesktop.org/drm/libdrm/tree/xf86drm.c#n905 Just so happened that dragonfly also has devname_r so that is included.

Does not belong in bsd


Dont forget the method lol


Don't add to wrong folders
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.

Please see the contribution instructions for more information.

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Oct 6, 2021

📌 Commit 4bffc77 has been approved by JohnTitor

@bors
Copy link
Contributor

bors commented Oct 7, 2021

⌛ Testing commit 4bffc77 with merge 91fa905...

@bors
Copy link
Contributor

bors commented Oct 7, 2021

☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 91fa905 to master...

@bors bors merged commit 91fa905 into rust-lang:master Oct 7, 2021
bors added a commit that referenced this pull request Oct 30, 2021
DragonFly's devname_r takes a size_t len parameter

#2435 introduced this function on DragonFly BSD with FreeBSD's signature, which is incorrect. Deprecate it, to be fixed in a subsequent release.

https://github.com/DragonFlyBSD/DragonFlyBSD/blob/c163a4d7ee9c6857ee4e04a3a2cbb50c3de29da1/include/stdlib.h#L285
bors added a commit that referenced this pull request Nov 2, 2021
DragonFly's devname_r takes a size_t len parameter

#2435 introduced this function on DragonFly BSD with FreeBSD's signature, which is incorrect. Deprecate it, to be fixed in a subsequent release.

https://github.com/DragonFlyBSD/DragonFlyBSD/blob/c163a4d7ee9c6857ee4e04a3a2cbb50c3de29da1/include/stdlib.h#L285
bors added a commit that referenced this pull request Nov 2, 2021
DragonFly's devname_r takes a size_t len parameter

#2435 introduced this function on DragonFly BSD with FreeBSD's signature, which is incorrect. Deprecate it, to be fixed in a subsequent release.

https://github.com/DragonFlyBSD/DragonFlyBSD/blob/c163a4d7ee9c6857ee4e04a3a2cbb50c3de29da1/include/stdlib.h#L285
bors added a commit that referenced this pull request Nov 2, 2021
DragonFly's devname_r takes a size_t len parameter

#2435 introduced this function on DragonFly BSD with FreeBSD's signature, which is incorrect. Deprecate it, to be fixed in a subsequent release.

https://github.com/DragonFlyBSD/DragonFlyBSD/blob/c163a4d7ee9c6857ee4e04a3a2cbb50c3de29da1/include/stdlib.h#L285
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants