blob: 9e226de533c98731477191101890189d766129b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -ur heartbeat-2.0.8.orig/lib/clplumbing/cl_msg.c heartbeat-2.0.8/lib/clplumbing/cl_msg.c
--- heartbeat-2.0.8.orig/lib/clplumbing/cl_msg.c 2007-01-12 04:57:07.000000000 +0200
+++ heartbeat-2.0.8/lib/clplumbing/cl_msg.c 2009-11-18 18:21:18.000000000 +0200
@@ -145,8 +145,8 @@
cl_log(LOG_ERR, "%s: filename is NULL", __FUNCTION__);
return -1;
}
-
- return open(filename, O_WRONLY|O_CREAT|O_APPEND);
+ // see http://hg.linux-ha.org/lha-2.1/rev/148fb2e06d1c
+ return open(filename, O_WRONLY|O_CREAT|O_APPEND, 0644);
}
|