| 2070 | |
| 2071 | #ifdef SUPPORT_HARD_LINKS |
| 2072 | static void handle_skipped_hlink(struct file_struct *file, int itemizing, |
| 2073 | enum logcode code, int f_out) |
| 2074 | { |
| 2075 | char fbuf[MAXPATHLEN]; |
| 2076 | int new_last_ndx; |
| 2077 | struct file_list *save_flist = cur_flist; |
| 2078 | |
| 2079 | /* If we skip the last item in a chain of links and there was a |
| 2080 | * prior non-skipped hard-link waiting to finish, finish it now. */ |
| 2081 | if ((new_last_ndx = skip_hard_link(file, &cur_flist)) < 0) |
| 2082 | return; |
| 2083 | |
| 2084 | file = cur_flist->files[new_last_ndx - cur_flist->ndx_start]; |
| 2085 | cur_flist->in_progress--; /* undo prior increment */ |
| 2086 | f_name(file, fbuf); |
| 2087 | recv_generator(fbuf, file, new_last_ndx, itemizing, code, f_out); |
| 2088 | |
| 2089 | cur_flist = save_flist; |
| 2090 | } |
| 2091 | #endif |
| 2092 | |
| 2093 | static void touch_up_dirs(struct file_list *flist, int ndx) |
no test coverage detected