summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-21 06:40:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:30 -0500
commit5ce18f91e0a2776299e5ebc411445c512887d74f (patch)
treedc79abc1202541b5da3b58652b86e8acbf146314
parent49371f496df208d7648d7f2b5a06dc13c1a427e7 (diff)
downloadsamba-5ce18f91e0a2776299e5ebc411445c512887d74f.tar.gz
samba-5ce18f91e0a2776299e5ebc411445c512887d74f.tar.bz2
samba-5ce18f91e0a2776299e5ebc411445c512887d74f.zip
r19434: we need to force line buffering as the new torture code doesn't create
a pty in the piped_child() code Jelmer, if you want to fix this on platforms that support it, see the forkpty() call, or see http://junkcode.samba.org/ftp/unpacked/junkcode/rline/ (This used to be commit 35908a29922b93d133b19881dc8205a7116cae8e)
-rw-r--r--source4/lib/talloc/testsuite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/talloc/testsuite.c b/source4/lib/talloc/testsuite.c
index f51252e57b..4904b21f9b 100644
--- a/source4/lib/talloc/testsuite.c
+++ b/source4/lib/talloc/testsuite.c
@@ -1029,6 +1029,8 @@ int main(void)
{
bool ret = true;
+ setlinebuf(stdout);
+
talloc_disable_null_tracking();
talloc_enable_null_tracking();