]> thyrsus.com Git - comparator.git/commitdiff
Making SCF files has a progress meter now.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 11 Sep 2003 07:16:00 +0000 (07:16 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 11 Sep 2003 07:16:00 +0000 (07:16 +0000)
main.c

diff --git a/main.c b/main.c
index bfe6d3b48f258523f65563aad83900062e102701..d2a7d0801d24042766104a2d358c26369d5f8dee 100644 (file)
--- a/main.c
+++ b/main.c
@@ -157,7 +157,7 @@ static void write_scf(const char *tree, FILE *ofp)
        if (!debug && progress++ % 100 == 0)
            fprintf(stderr, "\b\b\b%02.0f%%", progress / (file_count * 0.01));
     }
-    fprintf(stderr, ", done, %d total chunks.\n", totalchunks);
+    fprintf(stderr, "\b\b\b100%%, done, %d total chunks.\n", totalchunks);
 }
 
 void read_scf(const char *name, FILE *fp)