1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Build blockers

- cSpell valiantly vanquished
- fmt issues addressed
This commit is contained in:
Tyler 2021-07-28 14:29:07 -07:00
parent 0bbd4d4992
commit 0cb5cff697

View file

@ -37,9 +37,9 @@ use std::io::{self, Read, Seek, Write};
#[cfg(target_os = "linux")]
use std::os::unix::fs::OpenOptionsExt;
use std::path::Path;
use std::sync::mpsc;
#[cfg(target_os = "linux")]
use std::sync::atomic::Ordering;
use std::sync::{atomic::AtomicUsize, mpsc, Arc};
use std::sync::{atomic::AtomicUsize, atomic::Ordering, Arc};
use std::thread;
use std::time;
@ -47,7 +47,11 @@ const ABOUT: &str = "copy, and optionally convert, a file system resource";
const BUF_INIT_BYTE: u8 = 0xDD;
const RTN_SUCCESS: i32 = 0;
const RTN_FAILURE: i32 = 1;
const SYSTEM_NEWLINE: &[u8] = if cfg!(target_os = "windows") { b"\r\n" } else { b"\n" };
const SYSTEM_NEWLINE: &[u8] = if cfg!(target_os = "windows") {
b"\r\n"
} else {
b"\n"
};
struct Input<R: Read> {
src: R,