GSListPtr minus = node_list_minus(color_n_nodes, color_n_plus_1_nodes); if(g_slist_length(minus) == 0) { choose_node_from_list(colors, color_n, minus);  } else { minus = node_list_minus(color_n_plus_1_nodes, color_n_nodes); choose_node_from_list(colors, color_n, minus); }  
cl_log(LOG_DEBUG, "Choose a node not in n+1"); choose_node_from_list(colors, color_n, minus); 
stage3(GSListPtr colors){  int lpc = 0;	color_t *color_n = NULL;	color_t *color_n_plus_1 = NULL;	for(lpc = 0; lpc < g_slist_length(colors); lpc++) {		color_n = color_n_plus_1;		color_n_plus_1 = (color_t*)g_slist_nth_data(colors, lpc);		if(color_n == NULL) {			continue;		}		GSListPtr xor = node_list_xor(color_n_nodes,					      color_n_plus_1_nodes);		if(g_slist_length(xor) == 0) {			choose_node_from_list(colors, color_n, xor);		} else {			GSListPtr minus = node_list_minus(color_n_nodes,							  color_n_plus_1_nodes);			if(g_slist_length(minus) == 0) {				choose_node_from_list(colors, color_n, minus);			} else {				minus = node_list_minus(color_n_plus_1_nodes,							color_n_nodes);				choose_node_from_list(colors, color_n, minus);			}      		}		// chose last color		choose_node_from_list(colors, 				      color_n_plus_1, 				      color_n_plus_1_nodes);	}	return TRUE;	}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/db8433868c8c969b4872da3b0ab348b28883713b/pengine.c/buggy/crm/pengine/pengine.c