summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-09 14:36:41 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-09 14:36:41 (GMT)
commitc1ddd77d0c1070a9bf791c24cd47b42ca8cdb96f (patch)
tree9537e6fc53b91fc08c446bdd422f3859e13af47d
parent478b1c8b36e55001e8cb9ec10993d7ac1e78e189 (diff)
downloadCMake-c1ddd77d0c1070a9bf791c24cd47b42ca8cdb96f.zip
CMake-c1ddd77d0c1070a9bf791c24cd47b42ca8cdb96f.tar.gz
CMake-c1ddd77d0c1070a9bf791c24cd47b42ca8cdb96f.tar.bz2
libarchive: Fix compilation on Tru64 with F_SETTIMES
The parent commit left a typo in the conditional code path for Tru64. Add the missing '.'.
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c b/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c
index 962f2ca..bca2e35 100644
--- a/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c
+++ b/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c
@@ -2877,7 +2877,7 @@ set_time_tru64(int fd, int mode, const char *name,
tstamp.mtime.tv_nsec = mtime_nsec;
tstamp.ctime.tv_nsec = ctime_nsec;
#else
- tstamp.atimetv_usec = atime_nsec / 1000;
+ tstamp.atime.tv_usec = atime_nsec / 1000;
tstamp.mtime.tv_usec = mtime_nsec / 1000;
tstamp.ctime.tv_usec = ctime_nsec / 1000;
#endif