Merge from trunk

This commit is contained in:
Robert Millan 2009-12-11 21:15:58 +00:00
commit 838114b687
30 changed files with 357 additions and 103 deletions

View file

@ -355,7 +355,7 @@ grub_arg_parse (grub_extcmd_t cmd, int argc, char **argv,
{
char *tail;
grub_strtoul (option, &tail, 0);
grub_strtoull (option, &tail, 0);
if (tail == 0 || tail == option || *tail != '\0' || grub_errno)
{
grub_error (GRUB_ERR_BAD_ARGUMENT,