mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-30 19:06:38 +02:00
Bug 537392 – Additional colon in xattr name
2008-06-10 Matthias Clasen <mclasen@redhat.com> Bug 537392 – Additional colon in xattr name * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix, too. Reported by Alessandro Morandi svn path=/branches/glib-2-16/; revision=7121
This commit is contained in:
committed by
Matthias Clasen
parent
67012beaa4
commit
cc76a63dcc
@@ -1,4 +1,13 @@
|
|||||||
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Backported from trunk:
|
||||||
|
|
||||||
|
Bug 537392 – Additional colon in xattr name
|
||||||
|
|
||||||
|
* glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
|
||||||
|
too. Reported by Alessandro Morandi
|
||||||
|
|
||||||
|
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Backported from trunk:
|
Backported from trunk:
|
||||||
|
|
||||||
@@ -8,7 +17,7 @@
|
|||||||
* glocalfile.c (get_fs_type): Add afs and autofs.
|
* glocalfile.c (get_fs_type): Add afs and autofs.
|
||||||
Patch by Danny Baumann.
|
Patch by Danny Baumann.
|
||||||
|
|
||||||
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Backported from trunk:
|
Backported from trunk:
|
||||||
|
|
||||||
@@ -17,13 +26,13 @@
|
|||||||
* gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
|
* gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
|
||||||
is no parent. (Owen Taylor, patch by Christian Neumair)
|
is no parent. (Owen Taylor, patch by Christian Neumair)
|
||||||
|
|
||||||
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Backported from trunk:
|
Backported from trunk:
|
||||||
|
|
||||||
* gfile.c (g_file_replace_contents): do not leak the output stream.
|
* gfile.c (g_file_replace_contents): do not leak the output stream.
|
||||||
|
|
||||||
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Backported from trunk:
|
Backported from trunk:
|
||||||
|
|
||||||
|
@@ -726,13 +726,13 @@ set_xattr (char *filename,
|
|||||||
|
|
||||||
if (g_str_has_prefix (escaped_attribute, "xattr::"))
|
if (g_str_has_prefix (escaped_attribute, "xattr::"))
|
||||||
{
|
{
|
||||||
escaped_attribute += 6;
|
escaped_attribute += strlen ("xattr::");
|
||||||
is_user = TRUE;
|
is_user = TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_warn_if_fail (g_str_has_prefix (escaped_attribute, "xattr-sys::"));
|
g_warn_if_fail (g_str_has_prefix (escaped_attribute, "xattr-sys::"));
|
||||||
escaped_attribute += 10;
|
escaped_attribute += strlen ("xattr-sys::");
|
||||||
is_user = FALSE;
|
is_user = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user