[Windows] GetAppConfigFile's SubDir parameter does not behave as documented
Original Reporter info from Mantis: Paul
-
Reporter name: Paul
Original Reporter info from Mantis: Paul
- Reporter name: Paul
Description:
On e.g. Windows 7 the following two calls
"GetAppConfigDir(false);"
"GetAppConfigFile(false);"
from "sysutils" show results like
"C:\Users&LtPos;name>\AppData\Local&LtPos;project>"
"C:\Users&LtPos;name>\AppData\Local&LtPos;project>&LtPos;project>.cfg"
which is ok since the project config file is placed in the project config directory.
On OS X we get results like
"/Users/&LtPos;name>/.config/&LtPos;project>/"
"/Users/&LtPos;name>/.config/&LtPos;project>.cfg"
and here "GetAppConfigFile" does not use the path returned by "GetAppConfigDir". The expected result for "GetAppConfigFile" is
"/Users/&LtPos;name>/.config/&LtPos;project>/&LtPos;project>.cfg".
Mantis conversion info:
- Mantis ID: 22624
- OS: Windows 7
- Platform: Windows
- Version: 2.6.0
- Fixed in version: 3.0.0
- Fixed in revision: 939 (#e43248f3)
- Target version: 2.6.1