From 543b5e901b744468356547ee61975d9d44fa8f32 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 28 Mar 2010 13:16:08 +0000 Subject: Change all our own code to use st_*tim instead of st_*timespec. Also remove some local patches to diff(1) which are now unneeded. --- usr.bin/gzip/gzip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/gzip') diff --git a/usr.bin/gzip/gzip.c b/usr.bin/gzip/gzip.c index e9371d2..e8e75aa 100644 --- a/usr.bin/gzip/gzip.c +++ b/usr.bin/gzip/gzip.c @@ -1088,8 +1088,8 @@ copymodes(int fd, const struct stat *sbp, const char *file) if (fchmod(fd, sb.st_mode) < 0) maybe_warn("couldn't fchmod: %s", file); - TIMESPEC_TO_TIMEVAL(×[0], &sb.st_atimespec); - TIMESPEC_TO_TIMEVAL(×[1], &sb.st_mtimespec); + TIMESPEC_TO_TIMEVAL(×[0], &sb.st_atim); + TIMESPEC_TO_TIMEVAL(×[1], &sb.st_mtim); if (futimes(fd, times) < 0) maybe_warn("couldn't utimes: %s", file); -- cgit v1.1