glib r7590 - trunk/gio
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7590 - trunk/gio
- Date: Fri, 10 Oct 2008 11:35:39 +0000 (UTC)
Author: alexl
Date: Fri Oct 10 11:35:39 2008
New Revision: 7590
URL: http://svn.gnome.org/viewvc/glib?rev=7590&view=rev
Log:
2008-10-10 Alexander Larsson <alexl redhat com>
* gfileattribute.c (escape_byte_string):
Upper half of byte is >> 4, not >> 8.
Found by Kjartan Maraas via sparse
Modified:
trunk/gio/ChangeLog
trunk/gio/gfileattribute.c
Modified: trunk/gio/gfileattribute.c
==============================================================================
--- trunk/gio/gfileattribute.c (original)
+++ trunk/gio/gfileattribute.c Fri Oct 10 11:35:39 2008
@@ -384,7 +384,7 @@
{
*p++ = '\\';
*p++ = 'x';
- *p++ = hex_digits[(c >> 8) & 0xf];
+ *p++ = hex_digits[(c >> 4) & 0xf];
*p++ = hex_digits[c & 0xf];
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]