diff --git a/CHANGELOG.md b/CHANGELOG.md index 60e0f30..7277e76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.3.15 +# signal-hook-registry-1.4.1 + +* AIX support (experimental/not guaranteed to work). + # 0.3.14 * Added the SIGINFO signal (where available). diff --git a/Cargo.lock b/Cargo.lock index 3ec6073..edddd38 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -754,12 +754,12 @@ dependencies = [ [[package]] name = "signal-hook" -version = "0.3.14" +version = "0.3.15" dependencies = [ "cc", "libc", "serial_test 0.7.0", - "signal-hook-registry 1.4.0", + "signal-hook-registry 1.4.1", ] [[package]] @@ -787,14 +787,6 @@ dependencies = [ "signal-hook", ] -[[package]] -name = "signal-hook-registry" -version = "1.4.0" -dependencies = [ - "libc", - "signal-hook", -] - [[package]] name = "signal-hook-registry" version = "1.4.0" @@ -804,6 +796,14 @@ dependencies = [ "libc", ] +[[package]] +name = "signal-hook-registry" +version = "1.4.1" +dependencies = [ + "libc", + "signal-hook", +] + [[package]] name = "signal-hook-tokio" version = "0.3.1" @@ -863,7 +863,7 @@ dependencies = [ "num_cpus", "parking_lot 0.12.1", "pin-project-lite", - "signal-hook-registry 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "signal-hook-registry 1.4.0", "socket2", "tokio-macros", "winapi 0.3.9", diff --git a/Cargo.toml b/Cargo.toml index 0909d9e..636d479 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "signal-hook" -version = "0.3.14" +version = "0.3.15" authors = [ "Michal 'vorner' Vaner ", "Thomas Himmelstoss ", diff --git a/signal-hook-registry/Cargo.toml b/signal-hook-registry/Cargo.toml index 6bb060f..d68fbc9 100644 --- a/signal-hook-registry/Cargo.toml +++ b/signal-hook-registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "signal-hook-registry" -version = "1.4.0" +version = "1.4.1" authors = [ "Michal 'vorner' Vaner ", "Masaki Hara ", diff --git a/src/iterator/exfiltrator/raw.rs b/src/iterator/exfiltrator/raw.rs index bf3488e..93c1ace 100644 --- a/src/iterator/exfiltrator/raw.rs +++ b/src/iterator/exfiltrator/raw.rs @@ -85,7 +85,7 @@ unsafe impl Exfiltrator for WithRawSiginfo { } fn init(&self, slot: &Self::Storage, _: c_int) { - let new = Box::new(Channel::default()); + let new = Box::default(); let old = slot.0.swap(Box::into_raw(new), Ordering::Release); // We leak the pointer on purpose here. This is invalid state anyway and must not happen, // but if it still does, we can't drop that while some other thread might still be having