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

Unified Diff: base/platform_file_posix.cc

Issue 5349007: Some additions to support symlinks better on platforms that support them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing TODO Created 10 years, 1 month 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 | « base/platform_file.h ('k') | base/platform_file_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/platform_file_posix.cc
diff --git a/base/platform_file_posix.cc b/base/platform_file_posix.cc
index 52b14fc9375b0fcb6aa4abd6b43c6805302f1ebe..38989c6bf41cddcf5b961b31cbcbfc6782df5d9d 100644
--- a/base/platform_file_posix.cc
+++ b/base/platform_file_posix.cc
@@ -187,6 +187,7 @@ bool GetPlatformFileInfo(PlatformFile file, PlatformFileInfo* info) {
return false;
info->is_directory = S_ISDIR(file_info.st_mode);
+ info->is_symbolic_link = S_ISLNK(file_info.st_mode);
info->size = file_info.st_size;
info->last_modified = base::Time::FromTimeT(file_info.st_mtime);
info->last_accessed = base::Time::FromTimeT(file_info.st_atime);
« no previous file with comments | « base/platform_file.h ('k') | base/platform_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698