X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/f90a882e4b16c1b96571df2d9d0dfcf61aba7307..7ac2aef2fd35ed0cffe2b558b69643f12662a03e:/flags.diff diff --git a/flags.diff b/flags.diff index 3d4cb4d..74864d8 100644 --- a/flags.diff +++ b/flags.diff @@ -1,7 +1,11 @@ This patch provides --flags, which preserves the st_flags field. -Modified from a patch that was written by Rolf Grossmann: +Modified from a patch that was written by Rolf Grossmann. - http://www.progtech.net/rsync.flags-patch +After applying this patch, run these commands for a successful build: + + ./prepare-source + ./configure + make --- old/configure.in +++ new/configure.in @@ -372,7 +376,7 @@ Modified from a patch that was written by Rolf Grossmann: ok_to_set_time ? 0 : ATTRS_SKIP_MTIME); +#ifdef SUPPORT_FLAGS -+ make_mutable(fname, file->mode, file->fileflags); ++ make_mutable(fnametmp, file->mode, file->fileflags); +#endif /* move tmp file over real file */ if (verbose > 2)