glib r7294 - trunk/gio
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7294 - trunk/gio
- Date: Mon, 4 Aug 2008 15:58:26 +0000 (UTC)
Author: matthiasc
Date: Mon Aug 4 15:58:25 2008
New Revision: 7294
URL: http://svn.gnome.org/viewvc/glib?rev=7294&view=rev
Log:
2008-08-04 Matthias Clasen <mclasen redhat com>
Bug 546017 â Don't copy attributes when copying a symlink
* gfile.c (g_file_copy_attributes): Specify
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
g_file_set_attributes_from_info. Patch by Christian Kellner
Modified:
trunk/gio/ChangeLog
trunk/gio/gfile.c
Modified: trunk/gio/gfile.c
==============================================================================
--- trunk/gio/gfile.c (original)
+++ trunk/gio/gfile.c Mon Aug 4 15:58:25 2008
@@ -2169,7 +2169,8 @@
if (info)
{
res = g_file_set_attributes_from_info (destination,
- info, 0,
+ info,
+ G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
cancellable,
error);
g_object_unref (info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]