mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-09-22 02:05:04 -04:00
Reversing the order of maybe_emit_filelist_progress() and
emit_filelist_progress() makes the native compilers on systems including Solaris and Irix happier.
This commit is contained in:
1 parent
f5be54d6ab
commit
d27cbec598
1 file changed
+6
-6
@@ -84,6 +84,12 @@ static void start_filelist_progress(char *kind)
|
||||
}
|
||||
|
||||
|
||||
static void emit_filelist_progress(const struct file_list *flist)
|
||||
{
|
||||
rprintf(FINFO, " %d files...\r", flist->count);
|
||||
}
|
||||
|
||||
|
||||
static void maybe_emit_filelist_progress(const struct file_list *flist)
|
||||
{
|
||||
if (do_progress && show_filelist_p() && ((flist->count % 100) == 0))
|
||||
@@ -91,12 +97,6 @@ static void maybe_emit_filelist_progress(const struct file_list *flist)
|
||||
}
|
||||
|
||||
|
||||
static void emit_filelist_progress(const struct file_list *flist)
|
||||
{
|
||||
rprintf(FINFO, " %d files...\r", flist->count);
|
||||
}
|
||||
|
||||
|
||||
static void finish_filelist_progress(const struct file_list *flist)
|
||||
{
|
||||
if (do_progress) {
|
||||
|
||||
Reference in new issue
Block a user