1From c6836386549fb8f017761ce17a237fa42901434c Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Wed, 24 Mar 2021 17:36:26 -0400 4Subject: [PATCH] hgfsServerLinux: Consider 64bit time_t possibility 5 6Upstream-Status: Pending 7 8Refit for open-vm-tools-11.2.5. 9 10Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> 12Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> 13 14--- 15 open-vm-tools/lib/hgfsServer/hgfsServerLinux.c | 14 -------------- 16 1 file changed, 14 deletions(-) 17 18diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 19index f5cc80b7..5a79d645 100644 20--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 21+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 22@@ -2566,20 +2566,6 @@ HgfsStatToFileAttr(struct stat *stats, // IN: stat information 23 LOG(4, "%s: done, permissions %o%o%o%o, size %"FMT64"u\n", __FUNCTION__, 24 attr->specialPerms, attr->ownerPerms, attr->groupPerms, 25 attr->otherPerms, attr->size); 26-#ifdef __FreeBSD__ 27-# if !defined(VM_X86_64) && !defined(VM_ARM_64) && __FreeBSD_version >= 500043 28-# define FMTTIMET "" 29-# else 30-# define FMTTIMET "l" 31-# endif 32-#else 33-# define FMTTIMET "l" 34-#endif 35- LOG(4, "access: %"FMTTIMET"d/%"FMT64"u \nwrite: %"FMTTIMET"d/%"FMT64"u \n" 36- "attr: %"FMTTIMET"d/%"FMT64"u\n", 37- stats->st_atime, attr->accessTime, stats->st_mtime, attr->writeTime, 38- stats->st_ctime, attr->attrChangeTime); 39-#undef FMTTIMET 40 41 attr->userId = stats->st_uid; 42 attr->groupId = stats->st_gid; 43