From a8421e81078b91ae97ada3be352416eae26a9c7b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 10 Sep 2006 14:19:38 +0000 Subject: r18343: fixed setlinebuf() prototype, added test for it, and use it in two places to avoid a #ifdef (This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f) --- source4/torture/smbtorture.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index b924b37c23..3e834970a7 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -413,9 +413,7 @@ const static struct torture_ui_ops quiet_ui_ops = { { NULL } }; -#ifdef HAVE_SETBUFFER - setbuffer(stdout, NULL, 0); -#endif + setlinebuf(stdout); /* we are never interested in SIGPIPE */ BlockSignals(True,SIGPIPE); -- cgit