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 47d7c76 commit c4e05e4Copy full SHA for c4e05e4
2 files changed
src/uucore/src/lib/features/i18n/datetime.rs
@@ -176,7 +176,6 @@ pub fn get_locale_months() -> Option<&'static [Vec<u8>; 12]> {
176
not(target_os = "redox")
177
))]
178
fn get_locale_months_inner() -> Option<[Vec<u8>; 12]> {
179
- use nix::libc;
180
use std::ffi::CStr;
181
182
let abmon_items: [libc::nl_item; 12] = [
src/uucore/src/lib/mods/panic.rs
@@ -49,8 +49,6 @@ pub fn mute_sigpipe_panic() {
49
/// variable. If set to "default", it restores SIGPIPE to SIG_DFL.
50
#[cfg(unix)]
51
pub fn preserve_inherited_sigpipe() {
52
53
-
54
// Check if parent specified that SIGPIPE should be default
55
if std::env::var_os("RUST_SIGPIPE").is_some_and(|v| v == "default") {
56
unsafe { libc::signal(libc::SIGPIPE, libc::SIG_DFL) };
0 commit comments