diff options
author | Guillem Jover <guillem@debian.org> | 2018-08-10 03:32:35 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-08-30 03:14:08 +0200 |
commit | d88c981ada01b446a4cb01183ca0ab5a85b1a25c (patch) | |
tree | a76287d2429eb74dd95749e3472fa1921e9db7bf /src | |
parent | 60e4b9c2e969cb876fd9282f92e73f799485620b (diff) | |
download | dpkg-d88c981ada01b446a4cb01183ca0ab5a85b1a25c.tar.gz |
dpkg-query: Flush output for --status, --print-avail and --listfiles at the end
Do not flush the output on each entry output, instead wait until we have
finished to flush it all out. This should speed up the output.
Diffstat (limited to 'src')
-rw-r--r-- | src/querycmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/querycmd.c b/src/querycmd.c index bfb521a2e..560b05963 100644 --- a/src/querycmd.c +++ b/src/querycmd.c @@ -474,10 +474,9 @@ enqperpackage(const char *const *argv) if (*argv != NULL) putchar('\n'); - - m_output(stdout, _("<standard output>")); } + m_output(stdout, _("<standard output>")); if (failures) { fputs(_("Use dpkg --info (= dpkg-deb --info) to examine archive files,\n" "and dpkg --contents (= dpkg-deb --contents) to list their contents.\n"),stderr); |