diff options
author | ed <ed@FreeBSD.org> | 2010-03-28 13:16:08 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-03-28 13:16:08 +0000 |
commit | 543b5e901b744468356547ee61975d9d44fa8f32 (patch) | |
tree | 5c6d55680c37f3cbfd9460fbab60d39b1ecb8ae7 /usr.bin/compress | |
parent | 4f08ecd7ed8b39a0e0cd094967835fa85d105793 (diff) | |
download | FreeBSD-src-543b5e901b744468356547ee61975d9d44fa8f32.zip FreeBSD-src-543b5e901b744468356547ee61975d9d44fa8f32.tar.gz |
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.
Diffstat (limited to 'usr.bin/compress')
-rw-r--r-- | usr.bin/compress/compress.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |