16 lines
440 B
Plaintext
16 lines
440 B
Plaintext
$OpenBSD: patch-base_file_util_posix_cc,v 1.5 2011/09/19 08:55:26 robert Exp $
|
|
--- base/file_util_posix.cc.orig Tue Aug 23 10:28:48 2011
|
|
+++ base/file_util_posix.cc Wed Aug 24 10:54:22 2011
|
|
@@ -863,7 +863,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");
|
|
+#endif
|
|
return true;
|
|
}
|
|
#endif
|