-
-
Notifications
You must be signed in to change notification settings - Fork 738
Polish getrandom()
backwards compatibility shim
#10757
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
Conversation
Thanks for your pull request, @0xEAB! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "stable + phobos#10757" |
Also, here’s the usual “I'm not a native speaker” warning. |
changelog/emulate_getrandom.dd
Outdated
|
||
To restore compatibility with older Linux platforms where `getrandom()` is | ||
unavailable either due to an outdated kernel or a legacy C library, Phobos now | ||
ships with a shim that emulates a limited subset of `getrandom()` by reading |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ships with a shim that emulates a limited subset of `getrandom()` by reading | |
ships with a shim that emulates a limited subset of `getrandom()`'s behavior by reading |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
Adds a changelog entry.
Comments out the message pragma.
I wouldn’t mind it, but it’s really a bit spammy. Also see Atila’s upvote on my message suggesting this change: #10741 (comment)