[ scummvm-Bugs-1937042 ] Capitalization variations when searching for files
SourceForge.net
noreply at sourceforge.net
Mon Apr 7 22:23:27 CEST 2008
Bugs item #1937042, was opened at 2008-04-07 15:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1937042&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: The Feeble Files
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: h3xx (h3xx)
Assigned to: Nobody/Anonymous (nobody)
Summary: Capitalization variations when searching for files
Initial Comment:
System: Linux with scummvm-svn (Mon Apr 7 15:20:42 CDT 2008)
I was trying to play The Feeble Files with all the original filenames copied from the CD (with all FLAC files named with extension .fla) and decided to run an strace:
open("/home/h3xx/downloads/games/feeble/feeble/winasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/h3xx/downloads/games/feeble/feeble/winasoft.flacWINASOFT.FLAC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/h3xx/downloads/games/feeble/feeble/winasoft.flacWINASOFT.FLACwinasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/h3xx/downloads/games/feeble/feeble/winasoft.flacWINASOFT.FLACwinasoft.flacWinasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/scummvm/winasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/scummvm/winasoft.flacWINASOFT.FLAC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/scummvm/winasoft.flacWINASOFT.FLACwinasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/scummvm/winasoft.flacWINASOFT.FLACwinasoft.flacWinasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("winasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("winasoft.flacWINASOFT.FLAC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("winasoft.flacWINASOFT.FLACwinasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("winasoft.flacWINASOFT.FLACwinasoft.flacWinasoft.flac", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/h3xx/downloads/games/feeble/feeble/winasoft.fla", O_RDONLY) = 9
It looks as though the function that searches for alternate capitalizations is appending each alternate to the end of the search string, rather than trying that filename in the same directory.
The game runs fine, but I imagine that alternate capitalizations of game data filenames do not work.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1937042&group_id=37116
More information about the Scummvm-tracker
mailing list