79cdac6d33578cce3d9519f4a8ce9867ebfc2269
[feed/packages.git] / net / rsync / patches / 004-we-need-a-LF-after-filelist.patch
1 commit e02b89d0d35ab8acbd522983c08d2519d8bd12d4
2 Author: Wayne Davison <wayned@samba.org>
3 Date: Sat Oct 29 14:33:44 2016 -0700
4
5 We need a LF after filelist-progress with a CR.
6 Fixes bug 12367.
7
8 diff --git a/flist.c b/flist.c
9 index acb95f7..4a9f4e6 100644
10 --- a/flist.c
11 +++ b/flist.c
12 @@ -156,7 +156,9 @@ static void start_filelist_progress(char *kind)
13
14 static void emit_filelist_progress(int count)
15 {
16 + output_needs_newline = 0; /* avoid a newline in the middle of this filelist-progress output */
17 rprintf(FCLIENT, " %d files...\r", count);
18 + output_needs_newline = 1;
19 }
20
21 static void maybe_emit_filelist_progress(int count)