diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-01-20 07:16:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-20 07:16:10 +0100 |
| commit | 35d488f23da6c018e1f88097756e6135bdd0ecf6 (patch) | |
| tree | 2215f0ae49645a7fe2efe3de8aaa7f0ef24e7720 | |
| parent | a2712cb4b641d408f2f00d418883c159abaee280 (diff) | |
| parent | ae9e66bafbe83b3c32b6c08027a667961cfdc8fe (diff) | |
| download | rust-35d488f23da6c018e1f88097756e6135bdd0ecf6.tar.gz rust-35d488f23da6c018e1f88097756e6135bdd0ecf6.zip | |
Rollup merge of #107053 - devnexen:sigstringrepr_haiku, r=thomcc
signal update string representation for haiku.
| -rw-r--r-- | library/std/src/sys/unix/process/process_unix.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/process/process_unix.rs b/library/std/src/sys/unix/process/process_unix.rs index c2c4aa1c9df..3bc17b7754d 100644 --- a/library/std/src/sys/unix/process/process_unix.rs +++ b/library/std/src/sys/unix/process/process_unix.rs @@ -746,6 +746,8 @@ fn signal_string(signal: i32) -> &'static str { libc::SIGWINCH => " (SIGWINCH)", #[cfg(not(target_os = "haiku"))] libc::SIGIO => " (SIGIO)", + #[cfg(target_os = "haiku")] + libc::SIGPOLL => " (SIGPOLL)", libc::SIGSYS => " (SIGSYS)", // For information on Linux signals, run `man 7 signal` #[cfg(all( |
