1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 20:47:46 +00:00

fix freebsd typo

This commit is contained in:
tommady 2023-10-04 09:16:54 +00:00
parent 5ce3720820
commit aaea3b40fb
No known key found for this signature in database
GPG key ID: 175B664929DF2F2F

View file

@ -1753,14 +1753,14 @@ fn copy_file(
target_os = "android", target_os = "android",
target_os = "macos", target_os = "macos",
target_os = "macos-12", target_os = "macos-12",
target_os = "freebds", target_os = "freebsd",
)))] )))]
const MODE_RW_UGO: u32 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; const MODE_RW_UGO: u32 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
#[cfg(not(any( #[cfg(not(any(
target_os = "android", target_os = "android",
target_os = "macos", target_os = "macos",
target_os = "macos-12", target_os = "macos-12",
target_os = "freebds", target_os = "freebsd",
)))] )))]
const S_IRWXUGO: u32 = S_IRWXU | S_IRWXG | S_IRWXO; const S_IRWXUGO: u32 = S_IRWXU | S_IRWXG | S_IRWXO;
@ -1768,7 +1768,7 @@ fn copy_file(
target_os = "android", target_os = "android",
target_os = "macos", target_os = "macos",
target_os = "macos-12", target_os = "macos-12",
target_os = "freebds", target_os = "freebsd",
))] ))]
const MODE_RW_UGO: u32 = const MODE_RW_UGO: u32 =
(S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) as u32; (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) as u32;
@ -1776,7 +1776,7 @@ fn copy_file(
target_os = "android", target_os = "android",
target_os = "macos", target_os = "macos",
target_os = "macos-12", target_os = "macos-12",
target_os = "freebds", target_os = "freebsd",
))] ))]
const S_IRWXUGO: u32 = (S_IRWXU | S_IRWXG | S_IRWXO) as u32; const S_IRWXUGO: u32 = (S_IRWXU | S_IRWXG | S_IRWXO) as u32;