NORMAL_FORMAT_STR is also used for freebsd

This commit is contained in:
Sylvestre Ledru
2021-08-24 09:32:27 +02:00
parent 1126013dbb
commit 78e28060a0
+1 -1
View File
@@ -102,7 +102,7 @@ fn test_invalid_option() {
new_ucmd!().arg("-w").arg("-q").arg("/").fails();
}
#[cfg(any(target_os = "linux", target_vendor = "apple"))]
#[cfg(unix)]
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
#[cfg(any(target_os = "linux"))]