X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/ef608a9c5b6c846cb157e35e892ef74edc9ca170..de565f59bad4cc08c98f36cd582e25d96cab0de5:/atimes.diff diff --git a/atimes.diff b/atimes.diff index 6ded062..43660ba 100644 --- a/atimes.diff +++ b/atimes.diff @@ -282,6 +282,15 @@ After applying this patch, run these commands for a successful build: if (preserve_hard_links && file->link_u.links) { if (dry_run) file->link_u.links->link_dest_used = j + 1; +@@ -930,7 +937,7 @@ static void recv_generator(char *fname, + rsyserr(FERROR, errno, + "recv_generator: mkdir %s failed", + full_fname(fname)); +- file->flags |= FLAG_MISSING; ++ FFLAGS(file) |= FLAG_MISSING; + if (ndx+1 < the_file_list->count + && the_file_list->files[ndx+1]->dir.depth > file->dir.depth) { + rprintf(FERROR, @@ -944,7 +951,7 @@ static void recv_generator(char *fname, && verbose && code != FNONE && f_out != -1) rprintf(code, "%s/\n", fname); @@ -300,6 +309,15 @@ After applying this patch, run these commands for a successful build: } /* open the file */ +@@ -1514,7 +1521,7 @@ void generate_files(int f_out, struct fi + continue; + if (!need_retouch_dir_times && file->mode & S_IWUSR) + continue; +- if (file->flags & FLAG_MISSING) { ++ if (FFLAGS(file) & FLAG_MISSING) { + int missing = file->dir.depth; + while (++i < flist->count) { + file = flist->files[i]; --- old/hlink.c +++ new/hlink.c @@ -30,6 +30,7 @@ extern int make_backups;