summaryrefslogtreecommitdiff
blob: d677051c8e9dfc666d71b8278a0bb0ce5f1bddeb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/arch/net/charmrun/charmrun.c.orig	2009-05-30 10:37:32.676819167 -0500
+++ src/arch/net/charmrun/charmrun.c	2009-05-30 10:38:08.835027500 -0500
@@ -1291,7 +1291,7 @@
     char *tmp=tmpnam(NULL);/*This was once /tmp/fnord*/
 #endif
     unlink(tmp);
-    fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC);
+    fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC, 0666);
     if (fd<0) { 
       fprintf(stderr,"cannot open temp file /tmp/fnord");
       exit(1);