includes hidden files

This commit is contained in:
BVK Chaitanya 2010-07-30 03:40:33 +05:30
parent 3c6a9151ad
commit 530a9ff6bc
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ match_files (const char *prefix, const char *suffix, const char *end,
char *buffer;
/* skip hidden files, . and .. */
if (name[0] == '.')
if (grub_strcmp(".", name) == 0 || grub_strcmp("..", name) == 0)
return 0;
grub_dprintf ("expand", "matching: %s in %s\n", name, dir);