On Tue, Jan 25, 2011 at 09:06:29PM +0100, Alexander Kurtz wrote: > when I try to use background images with upper case file extensions > (e.g. `foo.JPEG') it doesn't work. If I try to debug this manually from > the grub shell, I get this: > > grub> background_image /grub/comet.JPEG > error: unsupported bitmap format > grub> > > This is unfortunate since most digital cameras produce images with upper > case file extensions. FAT filesystems and Windows in general might be > other sources of files with upper case file extensions. > > I can confirm that the attached patch fixes the problem for me. If you > have no objections, please include it in the next upload and submit it > upstream.
Instead of manually entering possible case variations, could you just make match_extension do case-insensitive comparison? grub_strcasecmp is available. Please send the patch to grub-de...@gnu.org, if you can - it's best if it comes from you directly. Thanks, -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org