merge from trunk

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-12-12 02:38:30 +01:00
commit 4d902d3715
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,