diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | src/querycmd.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 7ac6dacac..db8a620ec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -87,6 +87,8 @@ dpkg (1.19.1) UNRELEASED; urgency=medium instead of truncating it, to avoid data loss. Closes: #898603 * Fix use after free in dpkg maintainer script handling. Regression introduced in dpkg 1.19.0. + * Flush output for dpkg-query --status, --print-avail and --listfiles at + the end, instead of after each stanza. * Architecture support: - Add support for riscv64 CPU. Closes: #822914 Thanks to Manuel A. Fernandez Montecelo <mafm@debian.org> 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); |