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:
David Dykstra
2002-02-13 18:30:27 +00:00
parent f5be54d6ab
commit d27cbec598

12
flist.c
View File

@@ -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) {