[gvfs/wip/oholy/gtask: 2/18] gdaemonfile: Pass GFileCreateFlags in write operations
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/oholy/gtask: 2/18] gdaemonfile: Pass GFileCreateFlags in write operations
- Date: Wed, 30 Nov 2016 14:08:20 +0000 (UTC)
commit edb41f925ef33faad3056b5f2f31f600abc8c31e
Author: Ondrej Holy <oholy redhat com>
Date: Wed Nov 30 14:30:59 2016 +0100
gdaemonfile: Pass GFileCreateFlags in write operations
Flags are not passed in write operations on the client side currently,
so the daemons always use G_FILE_CREATE_NONE when writting. Pass the
flags in to fix this regression...
https://bugzilla.gnome.org/show_bug.cgi?id=747412
client/gdaemonfile.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 96c0914..c759227 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -3144,6 +3144,7 @@ file_open_write_async (GFile *file,
data->mode = mode;
data->etag = g_strdup (etag ? etag : "");
data->make_backup = make_backup;
+ data->flags = flags;
g_task_set_task_data (task, data, (GDestroyNotify) async_call_file_read_write_free);
create_proxy_for_file_async (file, task, file_open_write_async_get_proxy_cb);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]