metastore.c: Do not skip nanoseconds when applying mtime.
commita20cb5571cf8271a52344c0320e65bc2369ecddd
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>
Sat, 21 May 2022 14:01:23 +0000 (21 16:01 +0200)
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>
Sat, 21 May 2022 14:01:23 +0000 (21 16:01 +0200)
treedcedd5e84c4e032ffb1fc297a6b3abfa73241d65
parent72c21c112b209b2d092de2fd1750b6741bb187e3
metastore.c: Do not skip nanoseconds when applying mtime.

Apply mtime using utimensat() instead of utime(), which not only
supports setting nanoseconds, but also omitting atime change (last
access time), and working on symlinks - we use all of that.

Reported-by: Björn Haßler <bjohas@users.noreply.github.com>
src/metastore.c