Flush standard output after processing each event 77/9177/1
authorBranden Robinson <branden@debian.org>
Mon, 22 Mar 2004 22:19:47 +0000 (17:19 -0500)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 3 Sep 2013 03:32:30 +0000 (23:32 -0400)
commit58504d81f7e7fb91ccc185d3f20b04e4090ae2e8
treeedc4a640afc740f74f283d0087040139e40e576b
parent40604fdc3f6c91aaa49277d7981d37f9f0f30179
Flush standard output after processing each event

When redirecting the output of xev (eg, xev > foo), the output file is
truncated on exit due to libc buffering, since xev's exit(0) is
unreachable code.  Reported by Bill Currie.

Debian bug#238638 <http://bugs.debian.org/238638>

Change-Id: I361d7e2fb008edcf99b1ca2d57cde62380393a95
xev.c