cluster/cman/daemon ais.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2007-05-03 12:18:02
Modified files:
cman/daemon : ais.c
Log message:
Change unsigned char* to char* for compatibility with openais trunk.
cman/daemon/ais.c +1 -1
@@ -134,7 +134,7 @@* Exports the interface for the service */ static struct openais_service_handler cman_service_handler = { - .name = (unsigned char *)"openais CMAN membership service 2.01" , + .name = (char *)"openais CMAN membership service 2.01" , .id =CMAN_SERVICE , .flow_control =OPENAIS_FLOW_CONTROL_NOT_REQUIRED , .lib_exit_fn = cman_exit_fn,
Patrick,
openais trunk is broken in this regard. The type should be unsigned char.
Please revert this change - i'll update trunk with the proper typing.
Regards
-steve
Quoted 25 lines · pcaulfield at sourceware.org
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2007-05-03 12:18:02Modified files:
cman/daemon :ais.cLog message:
Change unsigned char* to char* for compatibility with openais trunk.cman/daemon/ais.c +1
-1@@ -134,7 +134,7 @@* Exports the interface for the service */ static struct openais_service_handler cman_service_handler = { - .name = (unsigned char *)"openais CMAN membership service 2.01" , + .name = (char *)"openais CMAN membership service 2.01" , .id =CMAN_SERVICE , .flow_control =OPENAIS_FLOW_CONTROL_NOT_REQUIRED , .lib_exit_fn = cman_exit_fn,
Patrick,
Ignore my last comments.
This change was made for the Solaris port. There appears to be some problem with using unsigned char for strings on that platform.
Regards
-steve
Quoted 37 lines · Steven Dake
Patrick,
openais trunk is broken in this regard. The type should be unsigned char.
Please revert this change - i'll update trunk with the proper typing.
Regards
-steveQuoted 25 lines · pcaulfield at sourceware.org
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2007-05-03 12:18:02Modified files:
cman/daemon :ais.cLog message:
Change unsigned char* to char* for compatibility with openais trunk.cman/daemon/ais.c +1
-1@@ -134,7 +134,7 @@* Exports the interface for the service */ static struct openais_service_handler cman_service_handler = { - .name = (unsigned char *)"openais CMAN membership service 2.01" , + .name = (char *)"openais CMAN membership service 2.01" , .id =CMAN_SERVICE , .flow_control =OPENAIS_FLOW_CONTROL_NOT_REQUIRED , .lib_exit_fn = cman_exit_fn,