xbps-rindex: initialize idxfiles in repo to access to it.
This commit is contained in:
		@@ -70,6 +70,7 @@ index_add(struct xbps_handle *xhp, int argc, char **argv, bool force)
 | 
			
		||||
		idx = xbps_dictionary_create();
 | 
			
		||||
		idxfiles = xbps_dictionary_create();
 | 
			
		||||
	} else {
 | 
			
		||||
		xbps_repo_open_idxfiles(repo);
 | 
			
		||||
		idx = xbps_dictionary_copy(repo->idx);
 | 
			
		||||
		idxfiles = xbps_dictionary_copy(repo->idxfiles);
 | 
			
		||||
		xbps_repo_close(repo);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user