openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_components_downloads_nsDownloadManager_cpp
landry 2e2cfce7ed Update to firefox 6.0.
See http://www.mozilla.com/en-US/firefox/6.0/releasenotes/.
Remove patches merged upstream (#648721, #651461, #643122, #634609 and
maybe others).
ok rpointel@
2011-08-23 20:14:52 +00:00

22 lines
1.0 KiB
Plaintext

$OpenBSD: patch-toolkit_components_downloads_nsDownloadManager_cpp,v 1.2 2011/08/23 20:14:52 landry Exp $
--- toolkit/components/downloads/nsDownloadManager.cpp.orig Fri Jul 22 00:18:53 2011
+++ toolkit/components/downloads/nsDownloadManager.cpp Sat Jul 30 15:37:52 2011
@@ -1159,7 +1159,7 @@ nsDownloadManager::GetDefaultDownloadsDirectory(nsILoc
rv = downloadDir->Exists(&exists);
NS_ENSURE_SUCCESS(rv, rv);
if (!exists) {
- rv = downloadDir->Create(nsIFile::DIRECTORY_TYPE, 0755);
+ rv = downloadDir->Create(nsIFile::DIRECTORY_TYPE, 0700);
NS_ENSURE_SUCCESS(rv, rv);
}
}
@@ -1267,7 +1267,7 @@ nsDownloadManager::GetUserDownloadsDirectory(nsILocalF
(void)customDirectory->Exists(&exists);
if (!exists) {
- rv = customDirectory->Create(nsIFile::DIRECTORY_TYPE, 0755);
+ rv = customDirectory->Create(nsIFile::DIRECTORY_TYPE, 0700);
if (NS_SUCCEEDED(rv)) {
customDirectory.forget(aResult);
return NS_OK;