posixutils-rs
posixutils-rs copied to clipboard
Core POSIX command line utilities in safe Rust
https://github.com/rustcoreutils/posixutils-rs/issues/72 Draft! TODO - [ ] System for running message extraction using [`xtr`](https://crates.io/crates/xtr). - [ ] Centralised loading of message .mo files. - [ ] Convert remaining applications to use...
**Describe the bug** The open_at function uses unsafe operations with a raw pointer (*const libc::c_char) to convert it into a CStr. However, the function does not validate the pointer's validity...
``` ❯ coreutils printf 'ᚱ \xE1' | ./target/release/tr -d 'ᚱ \341' | bat --plain --show-all \x9A\xB1 ``` Expected output is an empty string. The first byte of ᚱ is 0xE1...
The `iconv::iconv_no_flag_data_input` test works in CI and on local MacOS, but fails on Ubuntu Linux LTS local testing: ``` ---- iconv::iconv_no_flag_data_input stdout ---- thread 'iconv::iconv_no_flag_data_input' panicked at plib/src/testing.rs:99:5: assertion `left...