openbsd-ports/www/firefox36/patches/patch-xpcom_io_SpecialSystemDirectory_cpp
naddy 1090f160fd Import Firefox 3.6.2. Work in progress, not linked to the build.
Builds and runs on amd64 and i386, needs work elsewhere.
From martynas@ for 3.6; slightly updated by yours truly.
2010-03-29 20:44:08 +00:00

13 lines
545 B
Plaintext

$OpenBSD: patch-xpcom_io_SpecialSystemDirectory_cpp,v 1.1.1.1 2010/03/29 20:44:14 naddy Exp $
--- xpcom/io/SpecialSystemDirectory.cpp.orig Wed Jan 6 05:35:35 2010
+++ xpcom/io/SpecialSystemDirectory.cpp Sun Jan 10 17:47:30 2010
@@ -520,7 +520,7 @@ GetUnixXDGUserDirectory(SystemDirectories aSystemDirec
if (NS_FAILED(rv))
return rv;
if (!exists) {
- rv = file->Create(nsIFile::DIRECTORY_TYPE, 0755);
+ rv = file->Create(nsIFile::DIRECTORY_TYPE, 0700);
if (NS_FAILED(rv))
return rv;
}