1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

NORMAL_FORMAT_STR is also used for freebsd

This commit is contained in:
Sylvestre Ledru 2021-08-23 13:27:49 +02:00
parent 1126013dbb
commit 78e28060a0

View file

@ -102,7 +102,7 @@ fn test_invalid_option() {
new_ucmd!().arg("-w").arg("-q").arg("/").fails(); new_ucmd!().arg("-w").arg("-q").arg("/").fails();
} }
#[cfg(any(target_os = "linux", target_vendor = "apple"))] #[cfg(unix)]
const NORMAL_FORMAT_STR: &str = const NORMAL_FORMAT_STR: &str =
"%a %A %b %B %d %D %f %F %g %G %h %i %m %n %o %s %u %U %x %X %y %Y %z %Z"; // avoid "%w %W" (birth/creation) due to `stat` limitations and linux kernel & rust version capability variations "%a %A %b %B %d %D %f %F %g %G %h %i %m %n %o %s %u %U %x %X %y %Y %z %Z"; // avoid "%w %W" (birth/creation) due to `stat` limitations and linux kernel & rust version capability variations
#[cfg(any(target_os = "linux"))] #[cfg(any(target_os = "linux"))]