We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5964d24 commit 4a9b99eCopy full SHA for 4a9b99e
compio-signal/src/linux.rs
@@ -13,7 +13,7 @@ thread_local! {
13
}
14
15
fn sigset(sig: i32) -> io::Result<libc::sigset_t> {
16
- let mut set = MaybeUninit::uninit();
+ let mut set: MaybeUninit<libc::sigset_t> = MaybeUninit::uninit();
17
syscall!(libc::sigemptyset(set.as_mut_ptr()))?;
18
syscall!(libc::sigaddset(set.as_mut_ptr(), sig))?;
19
// SAFETY: sigemptyset initializes the set.
@@ -79,7 +79,7 @@ impl SignalFd {
79
80
81
fn buf_len(&self) -> usize {
82
- INFO_SIZE
+ 0
83
84
85
fn buf_capacity(&self) -> usize {
0 commit comments