From: Clemens Ladisch Date: Thu, 21 Feb 2008 08:12:53 +0000 (+0100) Subject: aseqdump: flush output X-Git-Tag: v1.0.17rc1~10 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8e2046bed5a597ca2f96aa8edc43f8f2fac6f7b2;p=alsa-utils.git aseqdump: flush output Flush the output after all currently available events have been printed to allow filtering interactive output through a pipe. --- diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c index 1cf210d..5122bbb 100644 --- a/seq/aseqdump/aseqdump.c +++ b/seq/aseqdump/aseqdump.c @@ -428,6 +428,7 @@ int main(int argc, char *argv[]) if (event) dump_event(event); } while (err > 0); + fflush(stdout); if (stop) break; }