summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-07-02 04:47:55 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-07-02 04:47:55 +0000
commitd2af8d03ab0722865e21df57ba07dfc1611d149e (patch)
tree24c95d37c8d42297cbf66f731e27201aede90985 /source3/torture/torture.c
parentbe242703e1dcdd562a5e9b39ee5c0fd95a5ac5cc (diff)
downloadsamba-d2af8d03ab0722865e21df57ba07dfc1611d149e.tar.gz
samba-d2af8d03ab0722865e21df57ba07dfc1611d149e.tar.bz2
samba-d2af8d03ab0722865e21df57ba07dfc1611d149e.zip
Not all OSs have setbuffer, so we better check for it.
Andrew Bartlett (This used to be commit aa5708de69a71e6b41a12f63550fae94f2481742)
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r--source3/torture/torture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 77e9a7eaf2..2cad5cd13a 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -3213,7 +3213,9 @@ static void usage(void)
dbf = stdout;
+#ifdef HAVE_SETBUFFER
setbuffer(stdout, NULL, 0);
+#endif
charset_initialise();