search for: dir_ndx

Displaying 1 result from an estimated 1 matches for "dir_ndx".

Did you mean: dir_n
2023 May 17
1
[PATCH] Fix the counting of device files and symlinks
...e stats.deleted_specials++; } diff -aNpRruz -X /etc/diff.excludes rsync-3.2.7/flist.c devel-3.2.7/flist.c --- rsync-3.2.7/flist.c 2022-10-02 10:54:54.000000000 -0600 +++ devel-3.2.7/flist.c 2022-10-02 10:54:54.000000000 -0600 @@ -2659,7 +2659,7 @@ struct file_list *recv_file_list(int f, int dir_ndx) } else if (S_ISLNK(file->mode)) stats.num_symlinks++; else if (IS_DEVICE(file->mode)) - stats.num_symlinks++; + stats.num_devices++; else stats.num_specials++;