* split: Added error when attempting to create file that already exists as dir
* split: Added integration test test_split::test_split_directory_already_exists
* Fixed dependency error in windows.rs
* Modified test to work on systems without /dev/zero
* Attempt to fix windows error handling
* Removed test for windows and made it more rigorous
* Err made to look more like gnu
* Updated test to reflect change in err message
See #7542, it's not totally clear where the problem comes from,
but blanking LD_PRELOAD set by termux seems to fix the problem
(but introduces other issues.
Let's just disable these tests for now.
Avoid an extremely long format width specifier in test case
`test_long_lines`. The Rust compiler is planning an upcoming change to
restrict the maximum width that can be specified to 65535, so this
change defends against future limitations in the compiler. For more
information, see
<https://github.com/uutils/coreutils/pull/7128#discussion_r1955787665>.
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