openbsd-ports/www/chromium/patches/patch-base_file_util_posix_cc

16 lines
411 B
Plaintext
Raw Normal View History

$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) {
}
bool GetShmemTempDir(FilePath* path) {
+#if defined(OS_LINUX)
*path = FilePath("/dev/shm");
+#else
+ *path = FilePath("/tmp");
+#endif
return true;
}