likely to cause problems with the optimizer - patch attached to fix.
? ccs_test/ccs_test ? ccs_tool/.update.c.swp ? ccs_tool/ccs_tool ? daemon/ccsd ? make/defines.mk Index: ccs_tool/update.c =================================================================== RCS file: /cvs/cluster/cluster/ccs/ccs_tool/update.c,v retrieving revision 1.6 diff -r1.6 update.c 123c123 < char *mem_doc = NULL; --- > xmlChar *mem_doc; 197c197 < xmlDocDumpFormatMemory(doc, (xmlChar **)&mem_doc, &doc_size, 0); --- > xmlDocDumpFormatMemory(doc, &mem_doc, &doc_size, 0); Index: ccs_tool/upgrade.c =================================================================== RCS file: /cvs/cluster/cluster/ccs/ccs_tool/upgrade.c,v retrieving revision 1.5 diff -r1.5 upgrade.c 197c197,198 < char *buffer = NULL; --- > void *buffer = NULL; > char *buffer_p; 200c201 < if(posix_memalign((void **)&buffer, DEFAULT_BBS, DEFAULT_BBS)){ --- > if(posix_memalign(&buffer, DEFAULT_BBS, DEFAULT_BBS)){ 203a205 > buffer_p = (char *)buffer; 211c213 < if(read(dev_fd, buffer, DEFAULT_BBS) < DEFAULT_BBS){ --- > if(read(dev_fd, buffer_p, DEFAULT_BBS) < DEFAULT_BBS){ 217c219 < ccs_dh_in(&dev_header, buffer); --- > ccs_dh_in(&dev_header, buffer_p); 244c246 < if(read(dev_fd, buffer, DEFAULT_BBS) < DEFAULT_BBS){ --- > if(read(dev_fd, buffer_p, DEFAULT_BBS) < DEFAULT_BBS){ 251c253 < if(write(tmp_fd, buffer, write_size) < write_size){ --- > if(write(tmp_fd, buffer_p, write_size) < write_size){ 263c265 < if(buffer) free(buffer); --- > if(buffer_p) free(buffer_p);
-- Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster