rsync 2.5.4 -v output (minor knit)

Dave Dykstra dwd at bell-labs.com
Fri Mar 15 08:27:49 EST 2002


On Thu, Mar 14, 2002 at 02:21:44PM -0600, Lee Eakin wrote:
> Dave, I found the test case, it simply involves more than one directory and
> --delete:
> 
>   rsync -av --delete remhost:'bin lib' .
> 
> With this command I get 3 done messages:
> 
>   receiving file list ... done
>   done
>   done
>   wrote 16 bytes  read 7386 bytes  2960.80 bytes/sec
>   total size is 4169245  speedup is 563.26
> 
> Without the --delete option I only get a single 'done' after the '...'.
> 
> Hope that narrows it down enough to make it easy to find,
>   -Lee


Ah, yes.  Here's a fix.  I submitted it to rsync CVS.

- Dave


--- flist.c.O	Thu Mar 14 15:26:24 2002
+++ flist.c	Thu Mar 14 15:18:52 2002
@@ -988,8 +988,9 @@
 		send_file_entry(NULL, f, 0);
 	}
 
-	if (show_filelist_p())
+	if (show_filelist_p() && f != -1) {
 		finish_filelist_progress(flist);
+	}
 
 	clean_flist(flist, 0);
 




More information about the rsync mailing list