2011-08-16 08:17:44 +00:00
|
|
|
$OpenBSD: patch-base_file_util_posix_cc,v 1.4 2011/08/16 08:17:44 robert Exp $
|
|
|
|
--- base/file_util_posix.cc.orig Wed Jul 27 10:01:28 2011
|
|
|
|
+++ base/file_util_posix.cc Tue Aug 2 20:12:17 2011
|
|
|
|
@@ -844,7 +844,11 @@ bool GetTempDir(FilePath* path) {
|
2011-02-08 09:43:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool GetShmemTempDir(FilePath* path) {
|
|
|
|
+#if defined(OS_LINUX)
|
|
|
|
*path = FilePath("/dev/shm");
|
|
|
|
+#else
|
|
|
|
+ *path = FilePath("/tmp");
|
|
|
|
+#endif
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|