2008-01-05 Robert Millan <rmh@aybabtu.com>
* normal/completion.c (iterate_dir): Skip `.' and `..' directories.
This commit is contained in:
parent
2bff2de347
commit
d8b43d9b50
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2008-01-05 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
* normal/completion.c (iterate_dir): Skip `.' and `..' directories.
|
||||||
|
|
||||||
2008-01-04 Christian Franke <franke@computer.org>
|
2008-01-04 Christian Franke <franke@computer.org>
|
||||||
|
|
||||||
* kern/i386/pc/init.c (grub_machine_init): Fix evaluation
|
* kern/i386/pc/init.c (grub_machine_init): Fix evaluation
|
||||||
|
|
|
@ -138,7 +138,7 @@ iterate_dir (const char *filename, int dir)
|
||||||
if (add_completion (filename, prefix, GRUB_COMPLETION_TYPE_FILE))
|
if (add_completion (filename, prefix, GRUB_COMPLETION_TYPE_FILE))
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else if (grub_strcmp (filename, ".") && grub_strcmp (filename, ".."))
|
||||||
{
|
{
|
||||||
char fname[grub_strlen (filename) + 2];
|
char fname[grub_strlen (filename) + 2];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue