Copy namespaces correctly in g_file_copy_attributes
authorAlexander Larsson <alexl@redhat.com>
Tue, 23 Jun 2009 13:07:00 +0000 (15:07 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 23 Jun 2009 14:35:41 +0000 (16:35 +0200)
File attribute namespaces are delimited with "::", but
build_attribute_list_for_copy only used ":", so we didn't copy
any writable namespaces.

gio/gfile.c

index ccb0402..49adf46 100644 (file)
@@ -2544,7 +2544,7 @@ build_attribute_list_for_copy (GFileAttributeInfoList *attributes,
                g_string_append_c (s, ',');
                
              g_string_append (s, namespaces->infos[i].name);
-             g_string_append (s, ":*");
+             g_string_append (s, "::*");
            }
        }
     }