diff options
| author | Martin Nordholts <martin.nordholts@codetale.se> | 2024-02-24 11:19:14 +0100 |
|---|---|---|
| committer | Martin Nordholts <martin.nordholts@codetale.se> | 2024-02-24 16:18:34 +0100 |
| commit | f5b9eaf18f3486feaf6bf765409449e37b38f9d2 (patch) | |
| tree | f2147ae5589ab0ca836bc225cc846c3bfd456151 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 21033f637e60af61ead04cc296e7214f89c16a95 (diff) | |
| download | rust-f5b9eaf18f3486feaf6bf765409449e37b38f9d2.tar.gz rust-f5b9eaf18f3486feaf6bf765409449e37b38f9d2.zip | |
Don't unnecessarily change `SIGPIPE` disposition in unix_sigpipe tests
In `auxiliary/sigpipe-utils.rs`, all we want to know is the current `SIGPIPE` disposition. We should not change it. So use `libc::sigaction` instead of `libc::signal`. That way we can also remove the code that restores it.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
