diff options
author | Guillem Jover <guillem@debian.org> | 2009-02-26 07:35:17 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2009-02-26 07:48:07 +0200 |
commit | 69c9250259d3abb8feb632898e5a495e74a33fc8 (patch) | |
tree | ed8463edfcc931c9e4a3c4e1c4f15f8e85743720 /ChangeLog | |
parent | 8c4a5bf6fa2d265ea037f72f82afe891c6b6475e (diff) | |
download | dpkg-69c9250259d3abb8feb632898e5a495e74a33fc8.tar.gz |
dpkg: Add progress reporting while reading the file list database
Reading the files database can take a while on machines with slow disks
and an empty cache. To make the wait more tolerable try to display a
progress indicator if the output is a terminal.
Based-on-patch-by: Romain Francoise <rfrancoise@debian.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,6 +1,15 @@ 2009-02-26 Romain Francoise <rfrancoise@debian.org>, Guillem Jover <guillem@debian.org> + * src/filesdb.c: Include 'progress.h'. + (ensure_allinstfiles_available): Call progress_init instead of + directly printing. Call progress_step if needing to print on each + package iteration. And call progress_done if needing to print when + finished. + +2009-02-26 Romain Francoise <rfrancoise@debian.org>, + Guillem Jover <guillem@debian.org> + * lib/Makefile.am (libdpkg_a_SOURCES): Add 'progress.h' and 'progress.c'. * lib/progress.h: New file. |