mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
invalidate the cache before running any command and before completing any filename, add missing asterisks into asm.S, fix a cross-compilation problem in configure.
This commit is contained in:
1 parent
a92313f507
commit
80d4c36c2e
6 files changed
+143
-72
No files matched your search
@@ -394,6 +394,10 @@ get_cmdline (char *prompt, char *cmdline, int maxlen,
|
||||
for (i = lpos; i > 0 && buf[i - 1] != ' '; i--)
|
||||
;
|
||||
|
||||
/* Invalidate the cache, because the user may exchange
|
||||
removable disks. */
|
||||
buf_drive = -1;
|
||||
|
||||
/* Copy this word to COMPLETION_BUFFER and do the
|
||||
completion. */
|
||||
grub_memmove (completion_buffer, buf + i, lpos - i);
|
||||
|
||||
Reference in new issue
Block a user