projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d6fd0
)
g_file_copy: Don't set GError when we intend to ignore errors
author
Colin Walters
<walters@verbum.org>
Thu, 3 Apr 2014 18:05:45 +0000
(14:05 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 10 Apr 2014 00:22:38 +0000
(20:22 -0400)
For better or worse, the current g_file_copy intention was to ignore
errors copying metadata, but we still set the GError, while returning
TRUE.
https://bugzilla.gnome.org/show_bug.cgi?id=727559
gio/gfile.c
patch
|
blob
|
history
diff --git
a/gio/gfile.c
b/gio/gfile.c
index
78f0d29
..
ae2dfb9
100644
(file)
--- a/
gio/gfile.c
+++ b/
gio/gfile.c
@@
-3252,7
+3252,7
@@
file_copy_fallback (GFile *source,
info,
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
cancellable,
-
error
);
+
NULL
);
}
g_clear_object (&info);