Displaying 1 result from an estimated 1 matches for "flag_hlink_last".
2004 Jan 25
2
scan for first existing hard-link file
...1) {
rprintf(FINFO, "recv_generator: \"%s\" is a hard link\n",
f_name(file));
@@ -438,6 +440,11 @@ void recv_generator(char *fname, struct
}
if (statret == -1) {
+ if (preserve_hard_links && file->link_u.links
+ && !(file->flags & FLAG_HLINK_LAST)) {
+ hlink_list[file->F_INDEX] = file->F_NEXT;
+ return;
+ }
if (errno == ENOENT) {
write_int(f_out,i);
if (!dry_run) write_sum_head(f_out, NULL);
@@ -455,6 +462,11 @@ void recv_generator(char *fname, struct
}
/* now pretend the file didn't exist */
+ if (preser...