Updated to apply cleanly.
[rsync/rsync-patches.git] / fuzzy.diff
index 0dbc1ba..0a31901 100644 (file)
@@ -4,8 +4,8 @@ I greatly simplified the changes to generator.c, making the patch
 easier to maintain and fixing the failing test in the testsuite.
 Very lightly tested.
 
---- generator.c        29 Jun 2004 19:19:00 -0000      1.92
-+++ generator.c        30 Jun 2004 07:35:56 -0000
+--- generator.c        30 Jun 2004 07:27:30 -0000      1.93
++++ generator.c        30 Jun 2004 07:43:46 -0000
 @@ -41,6 +41,7 @@ extern int ignore_times;
  extern int size_only;
  extern int io_timeout;
@@ -235,7 +235,7 @@ Very lightly tested.
        write_int(f_out,i);
        generate_and_send_sums(mapbuf, st.st_size, f_out);
  
-@@ -543,10 +656,11 @@ static void recv_generator(char *fname, 
+@@ -543,7 +656,8 @@ static void recv_generator(char *fname, 
  }
  
  
@@ -244,11 +244,7 @@ Very lightly tested.
 +                  int f_nameout)
  {
        int i;
--      int phase=0;
-+      int phase = 0;
-       char fbuf[MAXPATHLEN];
-       if (verbose > 2) {
+       int phase = 0;
 @@ -584,7 +698,7 @@ void generate_files(int f, struct file_l
                }
  
@@ -276,20 +272,18 @@ Very lightly tested.
        }
  
        if (verbose > 2)
---- main.c     28 Jun 2004 17:45:40 -0000      1.201
-+++ main.c     30 Jun 2004 07:35:57 -0000
-@@ -428,8 +428,8 @@ static void do_server_sender(int f_in, i
- static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
+--- main.c     30 Jun 2004 07:27:30 -0000      1.202
++++ main.c     30 Jun 2004 07:43:47 -0000
+@@ -429,7 +429,7 @@ static int do_recv(int f_in,int f_out,st
  {
        int pid;
--      int status=0;
+       int status = 0;
 -      int error_pipe[2];
-+      int status = 0;
 +      int error_pipe[2], name_pipe[2];
  
        if (preserve_hard_links)
                init_hard_links(flist);
-@@ -441,17 +441,19 @@ static int do_recv(int f_in,int f_out,st
+@@ -441,8 +441,8 @@ static int do_recv(int f_in,int f_out,st
                }
        }
  
@@ -300,10 +294,9 @@ Very lightly tested.
                exit_cleanup(RERR_SOCKETIO);
        }
  
-       io_flush(NORMAL_FLUSH);
+@@ -450,8 +450,10 @@ static int do_recv(int f_in,int f_out,st
  
--      if ((pid=do_fork()) == 0) {
-+      if ((pid = do_fork()) == 0) {
+       if ((pid = do_fork()) == 0) {
                close(error_pipe[0]);
 +              close(name_pipe[1]);
                if (f_in != f_out)
@@ -340,7 +333,7 @@ Very lightly tested.
        get_redo_num(); /* Read final MSG_DONE and any prior messages. */
        report(-1);
 --- options.c  20 Jun 2004 19:47:05 -0000      1.157
-+++ options.c  30 Jun 2004 07:35:57 -0000
++++ options.c  30 Jun 2004 07:43:47 -0000
 @@ -94,6 +94,7 @@ int ignore_errors = 0;
  int modify_window = 0;
  int blocking_io = -1;
@@ -375,8 +368,8 @@ Very lightly tested.
        *argc = ac;
        return;
  
---- receiver.c 29 Jun 2004 15:12:01 -0000      1.83
-+++ receiver.c 30 Jun 2004 07:35:57 -0000
+--- receiver.c 30 Jun 2004 07:27:30 -0000      1.84
++++ receiver.c 30 Jun 2004 07:43:47 -0000
 @@ -36,7 +36,6 @@ extern int preserve_perms;
  extern int cvs_exclude;
  extern int io_error;
@@ -442,7 +435,7 @@ Very lightly tested.
                         * wouldn't be necessary if robust_rename()
                         * and the underlying robust_unlink could cope
 --- rsync.yo   5 Jun 2004 16:16:30 -0000       1.171
-+++ rsync.yo   30 Jun 2004 07:35:58 -0000
++++ rsync.yo   30 Jun 2004 07:43:48 -0000
 @@ -325,6 +325,7 @@ verb(
   -T  --temp-dir=DIR          create temporary files in directory DIR
       --compare-dest=DIR      also compare received files relative to DIR