dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

line-buffered *.sum files?


From: DJ Delorie
Subject: line-buffered *.sum files?
Date: Tue, 30 Oct 2007 16:22:10 -0400

Can we add this patch to open_logs?  I've been using it locally for
many years, but now that disks and nfs are fast enough that the
benefit of having time-accurate *.sum files outweighs the costs, I
think it should be the default.

Index: lib/framework.exp
===================================================================
RCS file: /sources/dejagnu/dejagnu/lib/framework.exp,v
retrieving revision 1.22
diff -p -U 3 -r1.22 framework.exp
--- lib/framework.exp   8 Jun 2006 23:58:17 -0000       1.22
+++ lib/framework.exp   30 Oct 2007 20:20:02 -0000
@@ -85,6 +85,7 @@ proc open_logs { } {
     if { ${tool} ==  "testrun" } {
        set tool ""
     }
+    fconfigure $sum_file -buffering line
 }
 
 # Close the output logs.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]