Created attachment 3257[details]
Patch
Using FS_SV_FOpenFileRead to open a file that doesn't exist produces the following error when fs_basepath is the same as fs_homepath:
ERROR: FS_FileForHandle: NULL
It doesn't error for me trying to read non-existent file "qkey" on Linux. It looks like the code is executed exactly the same with and without this patch to me.
Feel free to reopen this issue with more details.
Created attachment 3257 [details] Patch Using FS_SV_FOpenFileRead to open a file that doesn't exist produces the following error when fs_basepath is the same as fs_homepath: ERROR: FS_FileForHandle: NULL