9395b3e04c
Remove patches merged upstream.
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
$OpenBSD: patch-toolkit_components_downloads_nsDownloadManager_cpp,v 1.2 2011/08/23 20:55:53 landry Exp $
|
|
--- toolkit/components/downloads/nsDownloadManager.cpp.orig Fri Aug 12 01:29:24 2011
|
|
+++ toolkit/components/downloads/nsDownloadManager.cpp Tue Aug 23 22:46:56 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;
|