glib r6990 - trunk/gio
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6990 - trunk/gio
- Date: Tue, 10 Jun 2008 15:55:31 +0000 (UTC)
Author: matthiasc
Date: Tue Jun 10 15:55:31 2008
New Revision: 6990
URL: http://svn.gnome.org/viewvc/glib?rev=6990&view=rev
Log:
Bug 537392 â Additional colon in xattr name
* glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
too. Reported by Alessandro Morandi
Modified:
trunk/gio/ChangeLog
trunk/gio/glocalfileinfo.c
Modified: trunk/gio/glocalfileinfo.c
==============================================================================
--- trunk/gio/glocalfileinfo.c (original)
+++ trunk/gio/glocalfileinfo.c Tue Jun 10 15:55:31 2008
@@ -733,13 +733,13 @@
if (g_str_has_prefix (escaped_attribute, "xattr::"))
{
- escaped_attribute += 6;
+ escaped_attribute += strlen ("xattr::");
is_user = TRUE;
}
else
{
g_warn_if_fail (g_str_has_prefix (escaped_attribute, "xattr-sys::"));
- escaped_attribute += 10;
+ escaped_attribute += strlen ("xattr-sys::");
is_user = FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]