Merge pull request #1389 from ggustafsson/feat/bsd-stat-x-fix

Use -x flag with BSD stat
This commit is contained in:
Arun 2022-06-08 01:38:53 +05:30 committed by GitHub
commit 4c6c06b743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -4526,7 +4526,11 @@ static bool show_stats(char *fpath)
("file " FILE_MIME_OPTS),
#endif
"file -b",
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
"stat -x",
#else
"stat",
#endif
};
size_t r = ELEMENTS(cmds);