mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
Merge pull request #1389 from ggustafsson/feat/bsd-stat-x-fix
Use -x flag with BSD stat
This commit is contained in:
commit
4c6c06b743
|
@ -4526,7 +4526,11 @@ static bool show_stats(char *fpath)
|
||||||
("file " FILE_MIME_OPTS),
|
("file " FILE_MIME_OPTS),
|
||||||
#endif
|
#endif
|
||||||
"file -b",
|
"file -b",
|
||||||
|
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
|
||||||
|
"stat -x",
|
||||||
|
#else
|
||||||
"stat",
|
"stat",
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t r = ELEMENTS(cmds);
|
size_t r = ELEMENTS(cmds);
|
||||||
|
|
Loading…
Reference in a new issue