When comparing mtimes for the -u and -Z options and the target is
authorguenther <guenther@openbsd.org>
Sat, 18 May 2024 05:21:38 +0000 (05:21 +0000)
committerguenther <guenther@openbsd.org>
Sat, 18 May 2024 05:21:38 +0000 (05:21 +0000)
commitbb7daa6de6dd335845bed32e8287e9f9bc8e516c
treeea84ec91ae521f30844d06fdd043dbae48e3c7b6
parent83961a402250baf6794526f636b0f469f5203d97
When comparing mtimes for the -u and -Z options and the target is
'too old', use pathconfat(_PC_TIMESTAMP_RESOLUTION, AT_SYMLINK_NOFOLLOW)
to get the timestamp resolution to which the _source_ timestamp
should be truncated for a stable comparison.

Problem reported by Walter Alejandro Iglesias (wai(at)roquesor.com)
ok millert@
bin/pax/ar_subs.c