mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Use grub_strcasecmp
rather than a hack for grub_strncasemap.
This commit is contained in:
1 parent
280d9d3e3e
commit
8ee1101a97
2 files changed
+19
-1
No files matched your search
@@ -84,7 +84,7 @@ grub_fshelp_find_file (const char *path, grub_fshelp_node_t rootnode,
|
||||
if (filetype == GRUB_FSHELP_UNKNOWN ||
|
||||
(grub_strcmp (name, filename) &&
|
||||
(! (filetype & GRUB_FSHELP_CASE_INSENSITIVE) ||
|
||||
grub_strncasecmp (name, filename, GRUB_LONG_MAX))))
|
||||
grub_strcasecmp (name, filename))))
|
||||
{
|
||||
grub_free (node);
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user