[Openais] [PATCH corosync/trunk] fix compiling on OSX

Angus Salkeld angus.salkeld at gmail.com
Tue Oct 13 00:54:11 PDT 2009


Hi

It seems my stats patches have broken the OSX build.

This (hopefully) fixes it.

Andrew can you test please?

Regards
Angus Salkeld


Index: exec/coroipcs.c
===================================================================
--- exec/coroipcs.coroipcs(revision 2520)
+++ exec/coroipcs.coroipcs(working copy)
@@ -1103,7 +1103,7 @@
  retry_semop:
  	res = semop (conn_info->semid, &sop, 1);
  	if ((res == -1) && (errno == EINTR || errno == EAGAIN)) {
-errnoapi->stats_increment_value (conn_info->stats_handle,
"sem_retry_count");
+stats_handlestats_api->stats_increment_value (conn_info->stats_handle,
"sem_retry_count");
  		goto retry_semop;
  	} else
  	if ((res == -1) && (errno == EINVAL || errno == EIDRM)) {
Index: tools/corosync-objctl.c
===================================================================
--- tools/corosync-objctl.corosync(revision 2520)
+++ tools/corosync-objctl.corosync(working copy)
@@ -51,7 +51,6 @@
  #define SEPERATOR_STR "."
  #define OBJ_NAME_SIZE 512

-extern int isblank(int c);

  typedef enum {
  	ACTION_READ,



More information about the Openais mailing list