mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
add some missing unsafe
This commit is contained in:
parent
85c5d39fd7
commit
b4ac10769d
12 changed files with 61 additions and 49 deletions
|
@ -84,7 +84,9 @@ fuzz_target!(|_data: &[u8]| {
|
|||
let rust_result = generate_and_run_uumain(&args, uumain, None);
|
||||
|
||||
// TODO remove once uutils printf supports localization
|
||||
env::set_var("LC_ALL", "C");
|
||||
unsafe {
|
||||
env::set_var("LC_ALL", "C");
|
||||
}
|
||||
let gnu_result = match run_gnu_cmd(CMD_PATH, &args[1..], false, None) {
|
||||
Ok(result) => result,
|
||||
Err(error_result) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue