summaryrefslogtreecommitdiff
path: root/src/dialogs
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-08-06 19:52:44 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-08-06 19:52:44 (GMT)
commit9be2705b3214cc7bd6daaf7b498a4df155f2dc46 (patch)
tree5ecd364cce79d7e4b3aa74d690bef7a0891e94a7 /src/dialogs
parentb7c83221f2a60be8ee5d44a7599dbe6869af005f (diff)
Fixed the compilation on Ubuntu Lucid.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@256 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/export.c b/src/dialogs/export.c
index c485fd7..e514511 100644
--- a/src/dialogs/export.c
+++ b/src/dialogs/export.c
@@ -178,7 +178,7 @@ static void export_assistant_close(GtkAssistant *assistant, GObject *ref)
entry = GTK_ENTRY(g_object_get_data(ref, "filename"));
filename = gtk_entry_get_text(entry);
- fd = open(filename, O_CREAT | O_WRONLY);
+ fd = open(filename, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (fd == -1)
{
perror("open");