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/compress/compress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/compress') diff --git a/usr.bin/compress/compress.c b/usr.bin/compress/compress.c index 584f283..6f674c2 100644 --- a/usr.bin/compress/compress.c +++ b/usr.bin/compress/compress.c @@ -368,8 +368,8 @@ setfile(const char *name, struct stat *fs) fs->st_mode &= S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; - TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec); - TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec); + TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atim); + TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtim); if (utimes(name, tv)) cwarn("utimes: %s", name); -- cgit v1.1