Task #92: Relase 2.70 rc1
fs_homepath on Windows - use SHGFP_TYPE_CURRENT
|Priority:||Normal||Spent time:||1.50 hour|
general: (Windows) fixed crash when homepath is not in a standard location, refs #97
sys: use SHGFP_TYPE_CURRENT as default fs_homepath on windows
Useful if 'My Documents’ has been moved to another drive
#1 Updated by Radegast over 6 years ago
- Assignee set to Radegast
- % Done changed from 0 to 10
The commit which causes this crash is a87a588c ("Windows path fix")
Confirmed by me on Windows 8 Preview (64bit) and by TheNumb on Windows 7. According to Dragonji, Windows XP is not affected.
cvar_set2 com_errormessage FS_CreatePath: failed to create path "\"
The only CSIDL identifier which does not crash is CSIDL_APPDATA.
#2 Updated by Radegast over 6 years ago
- Priority changed from Urgent to Normal
- Target version changed from 2.70rc1 to 2.75
- % Done changed from 10 to 40
As a temporary fix,
SHGFP_TYPE_DEFAULT is now forced in
SHGetFolderPath. The problem is that the file handling code is unable to handle non-standard "My Documents" location. For example, when it is mounted on