summaryrefslogtreecommitdiff
path: root/app-emulation/gxemul/files/0.6.0-fix-mymkstemp.patch
blob: 80d69f92c82743356171adee9b23f20e50b3aabe (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/old_main/misc.cc	2012-11-03 08:47:34.309732354 +0000
+++ src/old_main/misc.cc.new	2012-11-03 08:47:02.096573614 +0000
@@ -122,7 +122,7 @@
 		p++;
 	}
 
-	h = open(templ, O_RDWR, 0600);
+	h = open(templ, O_CREAT | O_RDWR, 0600);
 	return h;
 }