- Make sure we don't write out any extraneous mode bits as part of
[rsync/rsync-patches.git] / flags.diff
index 3d4cb4d..74864d8 100644 (file)
@@ -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)