diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-07-08 10:15:03 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-07-08 10:15:15 -0700 |
commit | e3bc7aca02fe4d8f86431a3d28c8ff54c331da33 (patch) | |
tree | 3c245b7f9c0d3a4cffccb6693557550356b9c5b7 | |
parent | 7d4ae91e0bba6553673b5ab439e639ca0c8d3221 (diff) | |
download | build-e3bc7aca02fe4d8f86431a3d28c8ff54c331da33.zip build-e3bc7aca02fe4d8f86431a3d28c8ff54c331da33.tar.gz build-e3bc7aca02fe4d8f86431a3d28c8ff54c331da33.tar.bz2 |
Revert "acp: Ensure dst mtime always greater or equal to src mtime"
This reverts commit a67bc11058f47eeba1f8bb30173c73ec0af8fcce.
Change-Id: Iba646152e62d61f0e4e64541748e7821a7dd3a9c
-rw-r--r-- | libs/host/CopyFile.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/host/CopyFile.c b/libs/host/CopyFile.c index 8cdf07a..a822b41 100644 --- a/libs/host/CopyFile.c +++ b/libs/host/CopyFile.c @@ -151,12 +151,6 @@ static int setPermissions(const char* dst, const struct stat* pSrcStat, unsigned */ ut.actime = pSrcStat->st_atime; ut.modtime = pSrcStat->st_mtime; -#ifdef MACOSX_RSRC - if (pSrcStat->st_mtimespec.tv_nsec > 0) -#else - if (pSrcStat->st_mtim.tv_nsec > 0) -#endif - ut.modtime += 1; if (utime(dst, &ut) != 0) { DBUG(("--- unable to set timestamps on '%s': %s\n", dst, strerror(errno))); |