Menu

#3686 FEEBLE: Capitalization variations when searching for files

The Feeble Files
closed-fixed
None
3
2008-04-07
2008-04-07
h3xx
No

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.

Discussion

  • h3xx

    h3xx - 2008-04-07
    • priority: 5 --> 3
     
  • h3xx

    h3xx - 2008-04-07
    • summary: Capitalization variations when searching for files --> FEEBLE: Capitalization variations when searching for files
     
  • Eugene Sandulenko

    Logged In: YES
    user_id=166507
    Originator: NO

    Good catch! Thank you, it's a fairly recent regression.

     
  • Eugene Sandulenko

    • assigned_to: nobody --> sev
    • status: open --> closed-fixed