$OpenBSD: patch-source_blender_blenloader_intern_writefile_c,v 1.9 2013/05/18 22:01:28 pascal Exp $
--- source/blender/blenloader/intern/writefile.c.orig	Fri Apr 12 17:33:09 2013
+++ source/blender/blenloader/intern/writefile.c	Wed May  8 19:55:50 2013
@@ -3375,7 +3375,7 @@ int BLO_write_file(Main *mainvar, const char *filepath
 	/* open temporary file, so we preserve the original in case we crash */
 	BLI_snprintf(tempname, sizeof(tempname), "%s@", filepath);
 
-	file = BLI_open(tempname, O_BINARY+O_WRONLY+O_CREAT+O_TRUNC, 0666);
+	file = BLI_open(tempname, O_BINARY|O_WRONLY|O_CREAT|O_TRUNC, 0666);
 	if (file == -1) {
 		BKE_reportf(reports, RPT_ERROR, "Cannot open file %s for writing: %s", tempname, strerror(errno));
 		return 0;
