]> diplodocus.org Git - xorg-xinput/commit
Increase interactiveness of test* output
authorNikolai Kondrashov <spbnick@gmail.com>
Fri, 17 Aug 2012 10:29:10 +0000 (13:29 +0300)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 20 Aug 2012 00:44:34 +0000 (10:44 +1000)
commitbcfa9123b41da8048450ed27aaeffff17b8eee99
tree399251bbc0251409df1a6d6d9773a6a538c39cf6
parent9071787a1d22b256c5871897f9421ba6ea2f4f76
Increase interactiveness of test* output

Force line buffering for test and test_xi2 to increase interactiveness and
avoid losing data with non-terminal stdout. This fixes capturing xinput
test* output into a file.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/test.c
src/test_xi2.c