summaryrefslogtreecommitdiffstats
path: root/testing/chromium/chromium-futimens.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/chromium/chromium-futimens.patch')
-rw-r--r--testing/chromium/chromium-futimens.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/testing/chromium/chromium-futimens.patch b/testing/chromium/chromium-futimens.patch
deleted file mode 100644
index 0662bcad1..000000000
--- a/testing/chromium/chromium-futimens.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- chromium-13.0.754.0.orig/base/platform_file_posix.cc
-+++ chromium-13.0.754.0/base/platform_file_posix.cc
-@@ -167,10 +167,15 @@
- if (file < 0)
- return false;
-
-- timeval times[2];
-- times[0] = last_access_time.ToTimeVal();
-- times[1] = last_modified_time.ToTimeVal();
-- return !futimes(file, times);
-+ timespec times[2];
-+
-+ times[0].tv_sec = last_access_time.ToTimeT();
-+ times[0].tv_nsec = 0;
-+
-+ times[1].tv_sec = last_modified_time.ToTimeT();
-+ times[1].tv_nsec = 0;
-+
-+ return !futimens(file, times);
- }
-
- bool GetPlatformFileInfo(PlatformFile file, PlatformFileInfo* info) {