Revision: 2634
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2634
Author: phcoder
Date: 2009-10-15 12:26:30 +0000 (Thu, 15 Oct 2009)
Log Message:
-----------
2009-10-15 Vladimir Serbinenko <[email protected]>
* commands/xnu_uuid.c (grub_cmd_xnu_uuid): Remove duplicated bitwise
operations.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/commands/xnu_uuid.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-10-15 12:09:56 UTC (rev 2633)
+++ trunk/grub2/ChangeLog 2009-10-15 12:26:30 UTC (rev 2634)
@@ -1,5 +1,10 @@
2009-10-15 Vladimir Serbinenko <[email protected]>
+ * commands/xnu_uuid.c (grub_cmd_xnu_uuid): Remove duplicated bitwise
+ operations.
+
+2009-10-15 Vladimir Serbinenko <[email protected]>
+
* configure.ac: Add missing dollar.
2009-10-15 Vladimir Serbinenko <[email protected]>
Modified: trunk/grub2/commands/xnu_uuid.c
===================================================================
--- trunk/grub2/commands/xnu_uuid.c 2009-10-15 12:09:56 UTC (rev 2633)
+++ trunk/grub2/commands/xnu_uuid.c 2009-10-15 12:26:30 UTC (rev 2634)
@@ -349,8 +349,6 @@
grub_memcpy (hashme.prefix, hash_prefix, sizeof (hashme.prefix));
md5 ((char *) &hashme, sizeof (hashme), (char *) xnu_uuid);
- xnu_uuid[6] = (xnu_uuid[6] & 0xf) | 0x30;
- xnu_uuid[8] = (xnu_uuid[8] & 0x3f) | 0x80;
grub_sprintf (uuid_string,
"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
(unsigned int) xnu_uuid[0], (unsigned int) xnu_uuid[1],