* grub-core/kern/file.c (grub_file_open): Don't take into account the

parenthesis in the middle of the filename.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-04-11 07:38:42 +02:00
parent b01abe3e16
commit 9ee8d94faa
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-04-11 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/file.c (grub_file_open): Don't take into account the
parenthesis in the middle of the filename.
2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits

View file

@ -68,7 +68,7 @@ grub_file_open (const char *name)
goto fail;
/* Get the file part of NAME. */
file_name = grub_strchr (name, ')');
file_name = (name[0] == '(') ? grub_strchr (name, ')') : NULL;
if (file_name)
file_name++;
else