12345678910111213 |
- $OpenBSD: patch-source_blender_blenloader_intern_writefile_c,v 1.15 2016/10/09 13:23:34 pascal Exp $
- --- source/blender/blenloader/intern/writefile.c.orig Thu Sep 29 09:54:17 2016
- +++ source/blender/blenloader/intern/writefile.c Sun Oct 9 13:41:21 2016
- @@ -227,7 +227,7 @@ static bool ww_open_none(WriteWrap *ww, const char *fi
- {
- int file;
-
- - file = BLI_open(filepath, O_BINARY + O_WRONLY + O_CREAT + O_TRUNC, 0666);
- + file = BLI_open(filepath, O_BINARY | O_WRONLY | O_CREAT | O_TRUNC, 0666);
-
- if (file != -1) {
- FILE_HANDLE(ww) = file;
|