mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
wc: Fix linters
This commit is contained in:
parent
9972cd1327
commit
0f1e79fe29
3 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ aho-corasick
|
||||||
backtrace
|
backtrace
|
||||||
blake2b_simd
|
blake2b_simd
|
||||||
bstr
|
bstr
|
||||||
|
bytecount
|
||||||
byteorder
|
byteorder
|
||||||
chacha
|
chacha
|
||||||
chrono
|
chrono
|
||||||
|
|
|
@ -21,6 +21,7 @@ use nix::fcntl::{splice, SpliceFFlags};
|
||||||
use nix::unistd::pipe;
|
use nix::unistd::pipe;
|
||||||
|
|
||||||
const BUF_SIZE: usize = 16 * 1024;
|
const BUF_SIZE: usize = 16 * 1024;
|
||||||
|
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||||
const SPLICE_SIZE: usize = 128 * 1024;
|
const SPLICE_SIZE: usize = 128 * 1024;
|
||||||
|
|
||||||
/// Splice wrapper which handles short writes
|
/// Splice wrapper which handles short writes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use crate::common::util::*;
|
use crate::common::util::*;
|
||||||
|
|
||||||
// spell-checker:ignore (flags) lwmcL clmwL ; (path) bogusfile emptyfile manyemptylines moby notrailingnewline onelongemptyline onelongword
|
// spell-checker:ignore (flags) lwmcL clmwL ; (path) bogusfile emptyfile manyemptylines moby notrailingnewline onelongemptyline onelongword weirdchars
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_count_bytes_large_stdin() {
|
fn test_count_bytes_large_stdin() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue