From 06e9d6a59bfa78c8b4047586b41bf35fc16175ef Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 10 Jan 2019 19:54:05 -0500 Subject: Replace st_mtim with st_mtimespec --- bin/cash/test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/cash/test.c b/bin/cash/test.c index e51391c2..e74c4f4c 100644 --- a/bin/cash/test.c +++ b/bin/cash/test.c @@ -603,12 +603,12 @@ newerf (const char *f1, const char *f2) if (stat(f1, &b1) != 0 || stat(f2, &b2) != 0) return 0; - if (b1.st_mtim.tv_sec > b2.st_mtim.tv_sec) + if (b1.st_mtimespec.tv_sec > b2.st_mtimespec.tv_sec) return 1; - if (b1.st_mtim.tv_sec < b2.st_mtim.tv_sec) + if (b1.st_mtimespec.tv_sec < b2.st_mtimespec.tv_sec) return 0; - return (b1.st_mtim.tv_nsec > b2.st_mtim.tv_nsec); + return (b1.st_mtimespec.tv_nsec > b2.st_mtimespec.tv_nsec); } static int -- cgit 1.4.1 up> libtls for OpenSSL
summary refs log tree commit diff
path: root/compat/pwrite.c (unfollow)
Commit message (Collapse)Author
2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe
2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe
Some compat sources (getentropy_linux.c for example) require OpenSSL. Reported by Robert Scheck.
2020-12-15Import LibreSSL 3.3.1June McEnroe
2020-11-24Import LibreSSL 3.3.0June McEnroe
2020-10-22Import LibreSSL 3.2.2June McEnroe
2020-09-29Import LibreSSL 3.2.1June McEnroe
2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe
2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe
2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe