Author: blueswirl Date: Tue Sep 28 20:59:43 2010 New Revision: 865 URL: http://tracker.coreboot.org/trac/openbios/changeset/865
Log: iso9660: Make name comparison case-insensitive
Make seek_name() compare the path component in a case-insensitive way. Should fix an issue reported by Mark.
Cc: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk Cc: Laurent Vivier laurent@vivier.eu Signed-off-by: Andreas Färber andreas.faerber@web.de Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/fs/iso9660/iso9660_opendir.c
Modified: trunk/openbios-devel/fs/iso9660/iso9660_opendir.c ============================================================================== --- trunk/openbios-devel/fs/iso9660/iso9660_opendir.c Tue Sep 28 20:59:41 2010 (r864) +++ trunk/openbios-devel/fs/iso9660/iso9660_opendir.c Tue Sep 28 20:59:43 2010 (r865) @@ -55,7 +55,7 @@ while ((idr = iso9660_readdir(dir)) != NULL) { iso9660_name(volume, idr, name_buf); - if (strcmp(name, name_buf) == 0) + if (strcasecmp(name, name_buf) == 0) { result = idr_new(idr); iso9660_closedir(dir);