$OpenBSD: patch-source_blender_blenloader_intern_writefile_c,v 1.8 2012/10/31 17:45:55 pascal Exp $
--- source/blender/blenloader/intern/writefile.c.orig	Tue Oct  9 20:40:20 2012
+++ source/blender/blenloader/intern/writefile.c	Fri Oct 12 18:06:31 2012
@@ -3020,7 +3020,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, "Can't open file %s for writing: %s.", tempname, strerror(errno));
 		return 0;
