patch-source_blender_blenloader_intern_writefile_c 547 B

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