Index: base/file_util_posix.cc |
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc |
index bb9977ed87f9d13c4a7af482b3bd7fdbad9df592..8f7c88d56345ebaa3fa30a8cc85ede75ce938ef1 100644 |
--- a/base/file_util_posix.cc |
+++ b/base/file_util_posix.cc |
@@ -912,7 +912,11 @@ bool GetTempDir(FilePath* path) { |
#if !defined(OS_ANDROID) |
bool GetShmemTempDir(FilePath* path) { |
+#if defined(OS_LINUX) |
*path = FilePath("/dev/shm"); |
+#else |
+ *path = FilePath("/tmp"); |
Mark Mentovai
2011/10/24 13:43:15
return GetTempDir(path) instead?
Robert Nagy
2011/10/24 16:26:56
Done.
|
+#endif |
return true; |
} |
#endif |