summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libs/host/CopyFile.c6
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)));