grub2-filemanager icon indicating copy to clipboard operation
grub2-filemanager copied to clipboard

.xml extension must be lower case

Open steve6375 opened this issue 2 years ago • 1 comments

.XML files are not listed, .xml must be lower case.

steve6375 avatar May 18 '22 10:05 steve6375

https://github.com/a1ive/grub2-filemanager/blob/918524dc18f08eba1ade421282b54a7b2787fa15/boot/grubfm/distro/win.sh#L44

I used wildcards to match xml files, which are case-sensitive.

https://github.com/a1ive/grub/blob/5b20b2f521f32e8b170581854cc7c80f0c0bc159/grub-core/commands/wildcard.c#L180 According to https://man7.org/linux/man-pages/man3/regcomp.3.html, if (regcomp (regexp, buffer, RE_SYNTAX_GNU_AWK)) should be if (regcomp (regexp, buffer, RE_SYNTAX_GNU_AWK | REG_ICASE))

a1ive avatar May 26 '22 13:05 a1ive