s3:lib: Change file_modtime() to return an error code and a struct timespec. master
authorJeremy Allison <jra@samba.org>
Thu, 26 Jan 2023 17:39:10 +0000 (09:39 -0800)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 27 Jan 2023 08:30:35 +0000 (08:30 +0000)
commit7e0eb0f31a24ef6d1742363d70090875d1037dc2
tree695449110fa5ac68c49018710ec4049b7e5bd470
parent96154a26fee79a496e86b7fa134223487ba7c6a3
s3:lib: Change file_modtime() to return an error code and a struct timespec.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Jan 27 08:30:35 UTC 2023 on atb-devel-224
lib/param/loadparm.c
lib/smbconf/smbconf_txt.c
lib/util/samba_util.h
lib/util/util.c