mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
* 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:
1 parent
b01abe3e16
commit
9ee8d94faa
2 files changed
+6
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user