From dbdfc2e3d0bd9e8b33cb0ee81f7de2652ad3e8c3 Mon Sep 17 00:00:00 2001 From: TimeServ Date: Mon, 1 May 2006 00:22:55 +0000 Subject: [PATCH] replace rename with proper VFS call git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2232 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/log.c b/engine/common/log.c index 8f154b96c..72da14880 100644 --- a/engine/common/log.c +++ b/engine/common/log.c @@ -215,7 +215,7 @@ void Con_Log (char *s) // TODO: option to compress file somewhere in here? // rename our base file, which better exist... - if (rename(f, oldf)) + if (FS_Rename(f, oldf, FS_BASE)) { // rename failed, disable log and bug out Cvar_ForceSet(&log_enable, "0");