#3686 closed defect (fixed)
FEEBLE: Capitalization variations when searching for files
Reported by: | SF/h3xx | Owned by: | sev- |
---|---|---|---|
Priority: | low | Component: | Engine: AGOS |
Version: | Keywords: | ||
Cc: | Game: | The Feeble Files |
Description
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.
Ticket imported from: #1937042. Ticket imported from: bugs/3686.
Change History (4)
comment:1 by , 17 years ago
Priority: | normal → low |
---|
comment:2 by , 17 years ago
Summary: | Capitalization variations when searching for files → FEEBLE: Capitalization variations when searching for files |
---|
comment:3 by , 17 years ago
comment:4 by , 17 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Good catch! Thank you, it's a fairly recent regression.