Fixed infinite recursion of writing crashlog because we're out of file handles.

Fixes Bugzilla #3772.
This commit is contained in:
Ryan C. Gordon committed 2009-09-15 00:19:22 +00:00
1 parent 76b7468a9d
commit 5079343ecd
3 files changed
+26 -8

No files matched your search

+1 -1
View File
@@ -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
+1
View File
@@ -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 );