cib = xmlCopyNodeList(update); 
add_node_copy(fragment, update); cib = find_xml_node(fragment, XML_TAG_CIB, TRUE); set_xml_property_copy(cib, "debug_source", source); 
create_cib_fragment_adv(	xmlNodePtr update, const char *section, const char *source){	gboolean whole_cib = FALSE;	xmlNodePtr fragment = create_xml_node(NULL, XML_TAG_FRAGMENT);	xmlNodePtr cib = NULL;	xmlNodePtr object_root  = NULL;	char *auto_section = cib_pluralSection(update?update->name:NULL);		if(update == NULL) {		crm_err("No update to create a fragment for");		crm_free(auto_section);		return NULL;			} else if(section == NULL) {		section = auto_section;	} else if(strcmp(auto_section, section) != 0) {		crm_err("Values for update (tag=%s) and section (%s)"			" were not consistent", update->name, section);		crm_free(auto_section);		return NULL;			}	if(strcmp(section, "all")==0 && strcmp(update->name, XML_TAG_CIB)==0) {		whole_cib = TRUE;	}		set_xml_property_copy(fragment, XML_ATTR_SECTION, section);	if(whole_cib == FALSE) {		cib = createEmptyCib();		object_root = get_object_root(section, cib);		xmlAddChildList(object_root, xmlCopyNodeList(update));	} else {		cib = xmlCopyNodeList(update);	}		xmlAddChild(fragment, cib);	set_xml_property_copy(cib, "debug_source", source);		crm_free(auto_section);	crm_debug("Verifying created fragment");	if(verifyCibXml(cib) == FALSE) {		crm_err("Fragment creation failed");		crm_err("[src] %s", dump_xml_formatted(update));		crm_err("[created] %s", dump_xml_formatted(fragment));		free_xml(fragment);		fragment = NULL;	}		return fragment;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/bbd50123f2028af27bf8859c4d1c08e53e90d8db/cib_client.c/buggy/lib/crm/cib/cib_client.c