svn commit: samba r5119 - in branches/SAMBA_4_0/source/lib/talloc: .

tridge at samba.org tridge at samba.org
Mon Jan 31 04:51:50 GMT 2005


Author: tridge
Date: 2005-01-31 04:51:50 +0000 (Mon, 31 Jan 2005)
New Revision: 5119

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5119

Log:
fflush after talloc reports to ensure they are fully on disk when using tee


Modified:
   branches/SAMBA_4_0/source/lib/talloc/talloc.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/talloc.c	2005-01-31 04:15:58 UTC (rev 5118)
+++ branches/SAMBA_4_0/source/lib/talloc/talloc.c	2005-01-31 04:51:50 UTC (rev 5119)
@@ -757,6 +757,7 @@
 		(unsigned long)talloc_total_blocks(ptr));
 
 	talloc_report_depth(ptr, f, 1);
+	fflush(f);
 }
 
 /*
@@ -784,7 +785,7 @@
 			(unsigned long)talloc_total_size(c+1),
 			(unsigned long)talloc_total_blocks(c+1));
 	}
-
+	fflush(f);
 }
 
 /*



More information about the samba-cvs mailing list