X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/7df593f21f124b1907e33cc9699be2b0d8191440..2042c632512e47cb7bfa3aa6131b89c2e9829820:/generator.c diff --git a/generator.c b/generator.c index f364eefd..dbcd80e4 100644 --- a/generator.c +++ b/generator.c @@ -84,6 +84,7 @@ extern int list_only; extern int read_batch; extern int safe_symlinks; extern long block_size; /* "long" because popt can't set an int32. */ +extern int unsort_ndx; extern int max_delete; extern int force_delete; extern int one_file_system; @@ -95,9 +96,6 @@ extern char *backup_suffix; extern int backup_suffix_len; extern struct file_list *cur_flist, *first_flist, *dir_flist; extern struct filter_list_struct server_filter_list; -#ifdef ICONV_OPTION -extern int ic_ndx; -#endif int ignore_perishable = 0; int non_perishable_cnt = 0; @@ -2060,11 +2058,9 @@ void generate_files(int f_out, const char *local_name) if (!F_IS_ACTIVE(file)) continue; -#ifdef ICONV_OPTION - if (ic_ndx) + if (unsort_ndx) ndx = F_NDX(file); else -#endif ndx = i + cur_flist->ndx_start; if (solo_file)