Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: base/file_util_posix.cc

Issue 185713005: Add support for FreeBSD in base/ , base/process/ , and base/threading so that the bootstrap binary … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove superfluous newline. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/process/process_handle_freebsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_posix.cc
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
index 39b29b3e26bf7dcdb1aae8c389c0d437e41a2f5a..53c64da052fb781dac762b3c57f50661d6b8dec2 100644
--- a/base/file_util_posix.cc
+++ b/base/file_util_posix.cc
@@ -675,7 +675,7 @@ bool GetFileInfo(const FilePath& file_path, File::Info* results) {
#endif // defined(OS_ANDROID)
results->is_directory = S_ISDIR(file_info.st_mode);
results->size = file_info.st_size;
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || (defined(OS_FREEBSD) && __FreeBSD_version < 900000)
results->last_modified = Time::FromTimeSpec(file_info.st_mtimespec);
results->last_accessed = Time::FromTimeSpec(file_info.st_atimespec);
results->creation_time = Time::FromTimeSpec(file_info.st_ctimespec);
« no previous file with comments | « no previous file | base/process/process_handle_freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698