From 472aac7534ff46bfbc36d547987b6425c6bad01e Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 8 Jan 2008 10:46:50 +0000 Subject: [PATCH] no O_APPEND here git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7936 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs.c b/fs.c index 2454bea3..186c06ae 100644 --- a/fs.c +++ b/fs.c @@ -1039,7 +1039,7 @@ void FS_AddGameHierarchy (const char *dir) #ifdef WIN32 if(!COM_CheckParm("-appdata")) { - int fd = open (va("%s%s/config.cfg", fs_basedir, dir), O_WRONLY | O_CREAT | O_APPEND, 0666); + int fd = open (va("%s%s/config.cfg", fs_basedir, dir), O_WRONLY | O_CREAT, 0666); // note: no O_TRUNC here! if(fd >= 0) { close(fd); -- 2.39.2