Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 88527 | Differences between
and this patch

Collapse All | Expand All

(-)gai-0.5.8.orig/gai/gai-pref2.c (-1 / +1 lines)
Lines 870-876 Link Here
870
870
871
	    
871
	    
872
	    if(j == g_list_length((GList *)((int *)iw[i].result)[0])){
872
	    if(j == g_list_length((GList *)((int *)iw[i].result)[0])){
873
		(GList *)((int *)iw[i].result)[0] = g_list_append((GList *)((int *)iw[i].result)[0], 
873
		((int *)iw[i].result)[0] = g_list_append((GList *)((int *)iw[i].result)[0],
874
								  g_strdup(buff));
874
								  g_strdup(buff));
875
	    } 
875
	    } 
876
	    ((int *)iw[i].result2)[0] = j;
876
	    ((int *)iw[i].result2)[0] = j;
(-)gai-0.5.8.orig/gai/gai-pref.c (-3 / +3 lines)
Lines 967-974 Link Here
967
967
968
	    if((unsigned char*)(((int *)iw[i].result)[0]) != NULL &&
968
	    if((unsigned char*)(((int *)iw[i].result)[0]) != NULL &&
969
	       (unsigned char*)(((int *)iw[i].default_val)[0]) != NULL)
969
	       (unsigned char*)(((int *)iw[i].default_val)[0]) != NULL)
970
		(unsigned char*)(((int *)iw[i].result)[0]) = 
970
		(((int *)iw[i].result)[0]) = 
971
		    (unsigned char*)(((int *)iw[i].default_val)[0]) = g_strdup(buff);
971
		    (((int *)iw[i].default_val)[0]) = g_strdup(buff);
972
972
973
973
974
	    //printf("%s\n",buff);
974
	    //printf("%s\n",buff);
Lines 988-994 Link Here
988
988
989
	    
989
	    
990
	    if(j == g_list_length((GList *)((int *)iw[i].result)[0])){
990
	    if(j == g_list_length((GList *)((int *)iw[i].result)[0])){
991
		(GList *)((int *)iw[i].result)[0] = g_list_append((GList *)((int *)iw[i].result)[0], 
991
		((int *)iw[i].result)[0] = g_list_append((GList *)((int *)iw[i].result)[0], 
992
								  g_strdup(buff));
992
								  g_strdup(buff));
993
		//		printf("%s is a new entry\n",buff);
993
		//		printf("%s is a new entry\n",buff);
994
	    } 
994
	    } 

Return to bug 88527