1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-16 10:11:01 +00:00
uutils-coreutils/tests
Jeffrey Finkelstein 071e72ffc8 split: fix bug with large arguments to -C
Fix the behavior of `split -C` when given large arguments. Before this
commit, bytes were being greedily assigned to a chunk too aggressively,
leading to a situation where a split happened in the middle of a line
even though the entire line could have fit within the next chunk. This
was appearing for large arguments to `-C` and long lines that extended
beyond the size of the read buffer. This commit fixes the behavior.

Fixes #7026
2025-01-13 09:36:48 +01:00
..
benches/factor num-prime => '0.4.4' 2024-10-15 22:46:44 +02:00
by-util split: fix bug with large arguments to -C 2025-01-13 09:36:48 +01:00
common clippy: it is more idiomatic to use 'Option<&T>' instead of '&Option<T>' 2024-11-29 08:36:54 +01:00
fixtures sort: adapt fixtures to change in unicode-width 2024-12-09 09:20:19 +01:00
test_util_name.rs tests: fix some clippy warnings 2024-05-25 09:06:16 +02:00
tests.rs relpath: remove 2023-10-04 16:13:06 +02:00