Displaying 2 results from an estimated 2 matches for "emit_filelist_progress".
2016 Oct 07
3
[Bug 12367] New: temporary lines in --progress output are not cleared
...Severity: minor
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: paul at debian.org
QA Contact: rsync-qa at samba.org
A bug report received by Debian
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749165). I can verify this.
emit_filelist_progress() in flist.c needs something like a
"output_needs_newline_maybe" variable... I can't quite see how to implement
that cleanly.
>>---
Some temporary lines output by --progress are not cleared, so that
the output looks strange. Here's a testcase.
----------------------------...
2004 Jan 06
2
[patch] making rsync less verbose
...!am_server;
}
static void start_filelist_progress(char *kind)
{
- rprintf(FINFO, "%s ... ", kind);
- if ((verbose > 1) || do_progress)
- rprintf(FINFO, "\n");
- rflush(FINFO);
+ rprintf(FINFO, "%s ... \n", kind);
}
@@ -96,20 +93,16 @@
static void maybe_emit_filelist_progress(const struct file_list *flist)
{
- if (do_progress && show_filelist_p() && ((flist->count % 100) == 0))
+ if (show_filelist_p() && ((flist->count % 100) == 0))
emit_filelist_progress(flist);
}
static void finish_filelist_progress(const struct file_list *flist...