[pan2/osx: 3/3] changed from 0740 to 0755 (directories)
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2/osx: 3/3] changed from 0740 to 0755 (directories)
- Date: Sat, 14 Jan 2012 10:17:03 +0000 (UTC)
commit 6a7b360377f62e671fb1ce455080c506313b6e65
Author: Heinrich MÃller <henmull src gnome org>
Date: Fri Jan 13 08:29:41 2012 +0100
changed from 0740 to 0755 (directories)
pan/general/file-util.cc | 5 +++--
pan/gui/pan.cc | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/pan/general/file-util.cc b/pan/general/file-util.cc
index c49f590..bbf1d44 100644
--- a/pan/general/file-util.cc
+++ b/pan/general/file-util.cc
@@ -128,6 +128,7 @@ namespace
}
}
+/// OSX: changed back to 0755 from 0740
bool
file :: ensure_dir_exists (const StringView& dirname_sv)
{
@@ -140,7 +141,7 @@ file :: ensure_dir_exists (const StringView& dirname_sv)
if (cmd == EX_BIT) goto _set_bit;
if (!g_file_test (dirname.c_str(), G_FILE_TEST_IS_DIR))
- retval = !g_mkdir_with_parents (dirname.c_str(), 0740); // changed from 755
+ retval = !g_mkdir_with_parents (dirname.c_str(), 0755);
if (!retval)
{
@@ -150,7 +151,7 @@ file :: ensure_dir_exists (const StringView& dirname_sv)
// set it manually
_set_bit:
if (cmd == EX_BIT)
- if (chmod(dirname.c_str(), 0740))
+ if (chmod(dirname.c_str(), 0755))
{
Log::add_urgent_va("Error setting executable bit for directory '%s' : "
"Please check your permissions.", dirname.c_str());
diff --git a/pan/gui/pan.cc b/pan/gui/pan.cc
index 4a5a391..e7820f8 100644
--- a/pan/gui/pan.cc
+++ b/pan/gui/pan.cc
@@ -73,7 +73,7 @@ extern "C" {
#include <gnome-keyring-1/gnome-keyring-memory.h>
#endif
-#define DEBUG_LOCALE 1
+//#define DEBUG_LOCALE 1
//#define DEBUG_PARALLEL 1
using namespace pan;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]