Skip to content

Commit 3af227a

Browse files
committed
Merge branch '0.5'
2 parents af1303c + ad14217 commit 3af227a

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ A [separate changelog is kept for rand_core](rand_core/CHANGELOG.md).
88

99
You may also find the [Update Guide](UPDATING.md) useful.
1010

11+
## [0.5.3] - 2018-06-26
12+
### Platform support
13+
- OpenBSD, Bitrig: fix compilation (broken in 0.5.1) (#530)
1114

1215
## [0.5.2] - 2018-06-18
1316
### Platform support

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand"
3-
version = "0.5.2" # NB: When modifying, also modify html_root_url in lib.rs
3+
version = "0.5.3" # NB: When modifying, also modify html_root_url in lib.rs
44
authors = ["The Rust Project Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223

224224
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
225225
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
226-
html_root_url = "https://docs.rs/rand/0.5.2")]
226+
html_root_url = "https://docs.rs/rand/0.5.3")]
227227

228228
#![deny(missing_docs)]
229229
#![deny(missing_debug_implementations)]

src/rngs/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ mod imp {
879879

880880
fn fill_chunk(&mut self, dest: &mut [u8]) -> Result<(), Error> {
881881
let ret = unsafe {
882-
libc::getentropy(s.as_mut_ptr() as *mut libc::c_void, s.len())
882+
libc::getentropy(dest.as_mut_ptr() as *mut libc::c_void, dest.len())
883883
};
884884
if ret == -1 {
885885
return Err(Error::with_cause(

0 commit comments

Comments
 (0)