summaryrefslogtreecommitdiffstats
path: root/src/cc4group.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc4group.c')
-rw-r--r--src/cc4group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cc4group.c b/src/cc4group.c
index fb2036e..368b6aa 100644
--- a/src/cc4group.c
+++ b/src/cc4group.c
@@ -249,7 +249,7 @@ static void* cc4group_createTmpMemoryFile(CC4Group* const this, const size_t siz
{
void* ret;
#define TMP_FILE "cc4group.tmp"
- int tmpFile = open(TMP_FILE, O_CREAT | O_BINARY | O_RDWR | O_TRUNC | O_EXCL, 0600);
+ int tmpFile = open(TMP_FILE, O_CREAT | O_BINARY | O_RDWR | O_EXCL, 0600);
if(tmpFile == -1)
{
SET_ERRNO_ERROR("open: Opening tmp file \"" TMP_FILE "\"");