]> git.ipfire.org Git - thirdparty/zstd.git/commit
'date -r FILE' is non-portable. 1870/head
authorBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Wed, 6 Nov 2019 11:16:02 +0000 (12:16 +0100)
committerBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Wed, 6 Nov 2019 12:55:59 +0000 (13:55 +0100)
commite488cabf25955f9d55e99e879429e408f7939114
tree716ed7d05560bc4bac92e34016b133e75af5caa1
parent73f8905b83e3575c12a380b9f2385b7f23fe779d
'date -r FILE' is non-portable.

date(1) is used to display the last modification time of a file, which
is not supported on OpenBSD, FreeBSD and Darwin. Instead use stat(1).

Tested on OpenBSD.
tests/playTests.sh