* 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:
parent
b01abe3e16
commit
9ee8d94faa
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits
|
* grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits
|
||||||
|
|
|
@ -68,7 +68,7 @@ grub_file_open (const char *name)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
/* Get the file part of NAME. */
|
/* Get the file part of NAME. */
|
||||||
file_name = grub_strchr (name, ')');
|
file_name = (name[0] == '(') ? grub_strchr (name, ')') : NULL;
|
||||||
if (file_name)
|
if (file_name)
|
||||||
file_name++;
|
file_name++;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue