Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/intern/fileops.c')
-rw-r--r--source/blender/blenlib/intern/fileops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c
index 676a7e32333..ffebd05f2f6 100644
--- a/source/blender/blenlib/intern/fileops.c
+++ b/source/blender/blenlib/intern/fileops.c
@@ -153,7 +153,7 @@ int BLI_is_writable(char *filename)
{
int file;
- file = open(filename, O_BINARY | O_RDWR | O_CREAT | O_TRUNC, 0666);
+ file = open(filename, O_BINARY | O_RDWR, 0666);
if (file < 0)
return 0;