Hi,
this patch is extracted from my previous ia64 patches.
Tristan.
2006-09-28 Tristan Gingold <[EMAIL PROTECTED]>
* kern/misc.c (grub_strtoull): guess the base only if not specified.
--- grub2.cvs/kern/misc.c 2006-06-04 17:56:54.000000000 +0200
+++ grub2/kern/misc.c 2006-09-27 08:15:44.000000000 +0200
@@ -366,7 +386,7 @@
/* Guess the base, if not specified. The prefix `0x' means 16, and
the prefix `0' means 8. */
- if (str[0] == '0')
+ if (base == 0 && str[0] == '0')
{
if (str[1] == 'x')
{
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel