- Improved the recently-added exclude-list comment.
[rsync/rsync-patches.git] / fsync.diff
index f48325d..61142ea 100644 (file)
@@ -1,8 +1,8 @@
 This patch from Sami Farin lets you specify --fsync if you want fsync()
 to be called on every file we write.
 
---- options.c  17 Apr 2004 17:07:23 -0000      1.147
-+++ options.c  27 Apr 2004 20:05:03 -0000
+--- options.c  6 May 2004 21:08:01 -0000       1.148
++++ options.c  13 May 2004 19:01:45 -0000
 @@ -37,6 +37,7 @@ int make_backups = 0;
   **/
  int whole_file = -1;
@@ -37,17 +37,17 @@ to be called on every file we write.
  
        if (compare_dest && am_sender) {
                /* the server only needs this option if it is not the sender,
---- receiver.c 27 Apr 2004 19:51:33 -0000      1.76
-+++ receiver.c 27 Apr 2004 20:05:03 -0000
-@@ -45,6 +45,7 @@ extern int cleanup_got_literal;
- extern int module_id;
+--- receiver.c 13 May 2004 07:08:22 -0000      1.77
++++ receiver.c 13 May 2004 19:01:46 -0000
+@@ -46,6 +46,7 @@ extern int module_id;
  extern int ignore_errors;
  extern int orig_umask;
+ extern int keep_partial;
 +extern int do_fsync;
  
  static void delete_one(char *fn, int is_dir)
  {
-@@ -264,6 +265,12 @@ static int receive_data(int f_in,struct 
+@@ -265,6 +266,12 @@ static int receive_data(int f_in,struct 
  
        if (fd != -1 && offset > 0 && sparse_end(fd) != 0) {
                rprintf(FERROR, "write failed on %s: %s\n",
@@ -60,8 +60,8 @@ to be called on every file we write.
                        full_fname(fname), strerror(errno));
                exit_cleanup(RERR_FILEIO);
        }
---- util.c     27 Apr 2004 19:59:37 -0000      1.141
-+++ util.c     27 Apr 2004 20:05:04 -0000
+--- util.c     8 May 2004 20:03:39 -0000       1.142
++++ util.c     13 May 2004 19:01:46 -0000
 @@ -29,6 +29,7 @@
  
  extern int verbose;