[glib] Copy namespaces correctly in g_file_copy_attributes



commit c1ab6454feb4447b8ef7ce6a0eb0fb38bae186df
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jun 23 15:07:00 2009 +0200

    Copy namespaces correctly in g_file_copy_attributes
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index ccb0402..49adf46 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -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, "::*");
 	    }
 	}
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]