Commit Graph

16307 Commits

Author SHA1 Message Date
Sylvestre Ledru 0a7ea78733 split: bring back the test 2025-08-14 10:54:17 +02:00
Sylvestre Ledru 1c5b95d1bb non-utf8: address review commits 2025-08-14 10:54:17 +02:00
Sylvestre Ledru 5930ba0eb5 head: refactor the code a bit 2025-08-14 10:54:17 +02:00
Sylvestre Ledru 83e5be8a52 install: options support non-ut8 too 2025-08-14 10:54:17 +02:00
Sylvestre Ledru 66a1fc8bbf mktemp: options support non-ut8 too 2025-08-14 10:54:17 +02:00
Sylvestre Ledru 71b4de24e6 test: improve support non-utf-8 2025-08-14 10:54:04 +02:00
Sylvestre Ledru 5a6986d55f split: prefix & suffix also support non-utf8 2025-08-14 10:54:04 +02:00
Sylvestre Ledru 39fbdeecb2 tac/touch: fix support non-utf-8 2025-08-14 10:53:55 +02:00
Sylvestre Ledru a15f9646e8 realpath/split: fix support non-utf-8 2025-08-14 10:53:38 +02:00
Sylvestre Ledru f450505e6e ptx: write_traditional_output also support non-utf8 2025-08-14 10:52:45 +02:00
Sylvestre Ledru f65c36d609 address review comments 2025-08-14 10:52:37 +02:00
Sylvestre Ledru 344798e144 Update src/uu/readlink/src/readlink.rs
Co-authored-by: Nicolas Boichat <nicolas@boichat.ch>
2025-08-14 10:52:37 +02:00
Sylvestre Ledru 5ae195b99a Update tests/by-util/test_pathchk.rs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-08-14 10:52:37 +02:00
Sylvestre Ledru a7f3cb0209 realpath: fix regression with empty string validation
Fixes issue introduced in b965c944837df66b233f57fca7275fbed4e4d311 where
switching from NonEmptyStringValueParser to OsString parser removed
validation that arguments cannot be empty strings.

- Add custom NonEmptyOsStringParser that validates OsString is not empty
- Use the parser for FILES, --relative-to, and --relative-base arguments
- Add test case to verify empty strings are rejected with exit code 1
- Fixes GNU realpath test failure
2025-08-14 10:52:37 +02:00
Sylvestre Ledru 1ab3a8df4f address review comments 2025-08-14 10:52:24 +02:00
Sylvestre Ledru faf3f7e526 head: remove old test that we know support it 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 98224ed0cf Finalize the fuzzer 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 82043f2ce3 run fuzz_non_utf8_paths in the ci 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 741370d771 Fix tac to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru ba7d902e50 Fix tsort to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 596784e70e Fix base64/base32/basenc to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru a69e6c9bd3 Fix dircolors to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru b46188cdb2 Fix nl to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 373aafc5ff Fix ptx to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru b5f8931b17 Fix stdbuf to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00