s3:lib: Change file_modtime() to return an error code and a struct timespec.
commitc714e36950723199fc2559959796b90de8a63ba1
authorJeremy Allison <jra@samba.org>
Thu, 26 Jan 2023 17:39:10 +0000 (26 09:39 -0800)
committerJule Anger <janger@samba.org>
Fri, 10 Feb 2023 11:46:16 +0000 (10 11:46 +0000)
tree0145078d740317006da7549ddda62d620b9852b2
parent9a3fb55870da1e25e46a1b36425027240b438b2c
s3:lib: Change file_modtime() to return an error code and a struct timespec.

Removes need for external stat() code when checking for timechange.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15301

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 7e0eb0f31a24ef6d1742363d70090875d1037dc2)

Autobuild-User(v4-18-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-18-test): Fri Feb 10 11:46:16 UTC 2023 on atb-devel-224
lib/param/loadparm.c
lib/smbconf/smbconf_txt.c
lib/util/samba_util.h
lib/util/util.c