2018-06-18 12:18 EDT

View Revisions: Issue #3036

Summary 0003036: cf_exists does not search all dirs correctly on Linux (and probably OSX)
Revision 2014-04-30 02:00 by niffiwan
Description Pretty much as it says. On Linux/OSX, some "directories" have two locations.

i.e.
mod/data/config
~/.fs2_open/mod/data/config

cf_exists will only find files in the 2nd location, even though valid files may be in the 1st location. It should probably search both locations, with the 2nd one having precedence.

Definitely affects CF_TYPE_CONFIG, may affect other types as well.

===========================

Note: cf_exists_full correctly (?? maybe, haven't checked precedence) finds files in both locations.
Revision 2014-04-30 00:30 by niffiwan
Description Pretty much as it says. On Linux/OSX, some "directories" have two locations.

i.e.
mod/data/config
~/.fs2_open/mod/data/config

cf_exists will only find files in the 2nd location, even though valid files may be in the 1st location. It should probably search both locations, with the 2nd one having precedence.

Definitely affects CF_TYPE_CONFIG, may affect other types as well.