mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/normal/completion.c (complete_file): Handle device
containing slash. Fix based on patch by Doug Nazar.
This commit is contained in:
1 parent
9b5b2541a2
commit
f452b04048
2 files changed
+8
-1
No files matched your search
@@ -247,7 +247,8 @@ complete_file (void)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
dir = grub_strchr (current_word, '/');
|
||||
dir = grub_strchr (current_word + (device ? 2 + grub_strlen (device) : 0),
|
||||
'/');
|
||||
last_dir = grub_strrchr (current_word, '/');
|
||||
if (dir)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user