Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
>
heartbeat
> heartbeat-2.1.2-open.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File heartbeat-2.1.2-open.patch of Package heartbeat
diff -Nur heartbeat-2.1.2.orig/heartbeat/heartbeat.c heartbeat-2.1.2/heartbeat/heartbeat.c --- heartbeat-2.1.2.orig/heartbeat/heartbeat.c 2007-08-01 20:06:54.000000000 -0600 +++ heartbeat-2.1.2/heartbeat/heartbeat.c 2007-08-14 22:21:46.000000000 -0600 @@ -862,7 +862,7 @@ ourproc = procinfo->nprocs; - if (mp->vf->open(mp) != HA_OK){ + if ((mp->vf->open)(mp) != HA_OK){ cl_log(LOG_ERR, "cannot open %s %s", mp->type, mp->name); diff -Nur heartbeat-2.1.2.orig/lib/clplumbing/cl_msg.c heartbeat-2.1.2/lib/clplumbing/cl_msg.c --- heartbeat-2.1.2.orig/lib/clplumbing/cl_msg.c 2007-08-01 20:06:54.000000000 -0600 +++ heartbeat-2.1.2/lib/clplumbing/cl_msg.c 2007-08-14 21:36:14.000000000 -0600 @@ -145,7 +145,7 @@ return -1; } - return open(filename, O_WRONLY|O_CREAT|O_APPEND); + return open(filename, O_WRONLY|O_CREAT|O_APPEND, 0755); }