Fixed infinite recursion of writing crashlog because we're out of file handles.
Fixes Bugzilla #3772.
This commit is contained in:
1 parent
76b7468a9d
commit
5079343ecd
3 files changed
+26
-8
No files matched your search
@@ -478,7 +478,7 @@ FS_CreatePath
|
||||
Creates any directories needed to store the given filename
|
||||
============
|
||||
*/
|
||||
static qboolean FS_CreatePath (char *OSPath) {
|
||||
qboolean FS_CreatePath (char *OSPath) {
|
||||
char *ofs;
|
||||
|
||||
// make absolutely sure that it can't back up the path
|
||||
|
||||
@@ -602,6 +602,7 @@ void FS_FreeFileList( char **list );
|
||||
|
||||
qboolean FS_FileExists( const char *file );
|
||||
|
||||
qboolean FS_CreatePath (char *OSPath);
|
||||
char *FS_BuildOSPath( const char *base, const char *game, const char *qpath );
|
||||
|
||||
int FS_LoadStack( void );
|
||||
|
||||
Reference in new issue
Block a user