about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-12-05 01:09:19 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-12-05 01:09:19 -0800
commit26b4bdc8b3b1d1f2f4b4dae1e7d2b89c7e286b1b (patch)
treee53c12766470bf7b8a667a29afb22d5e729d9ac5
parenta87118d98906d2eda0265fba6cfef8b979f8d8ec (diff)
downloadmu-26b4bdc8b3b1d1f2f4b4dae1e7d2b89c7e286b1b.tar.gz
4138
-rw-r--r--003trace.cc2
-rw-r--r--029tools.cc2
-rw-r--r--036refcount.cc4
-rw-r--r--050scenario.cc2
4 files changed, 5 insertions, 5 deletions
diff --git a/003trace.cc b/003trace.cc
index e388b0f7..7a062b63 100644
--- a/003trace.cc
+++ b/003trace.cc
@@ -215,7 +215,7 @@ lease_tracer::lease_tracer() { Trace_stream = new trace_stream; }
 lease_tracer::~lease_tracer() {
   if (!Trace_stream) return;  // in case tests close Trace_stream
   if (Save_trace) {
-    ofstream fout("last_trace");
+    ofstream fout("last_run");
     fout << Trace_stream->readable_contents("");
     fout.close();
   }
diff --git a/029tools.cc b/029tools.cc
index 249451cb..ca86b397 100644
--- a/029tools.cc
+++ b/029tools.cc
@@ -180,7 +180,7 @@ case _SAVE_TRACE: {
 :(before "End Primitive Recipe Implementations")
 case _SAVE_TRACE: {
   if (Save_trace) {
-    ofstream fout("last_trace");
+    ofstream fout("last_run");
     fout << Trace_stream->readable_contents("");
     fout.close();
   }
diff --git a/036refcount.cc b/036refcount.cc
index e04261bd..69c00d05 100644
--- a/036refcount.cc
+++ b/036refcount.cc
@@ -76,8 +76,8 @@ void decrement_refcount(int old_address, const type_tree* payload_type, int payl
   if (old_refcount < 0) {
     cerr << "Negative refcount!!! " << old_address << ' ' << old_refcount << '\n';
     if (Trace_stream) {
-      cerr << "Saving trace to last_trace.\n";
-      ofstream fout("last_trace");
+      cerr << "Saving trace to last_run.\n";
+      ofstream fout("last_run");
       fout << Trace_stream->readable_contents("");
       fout.close();
     }
diff --git a/050scenario.cc b/050scenario.cc
index edc57573..b7d5b58b 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -230,7 +230,7 @@ void run_mu_scenario(const scenario& s) {
     Passed = false;
   if (not_already_inside_test && Trace_stream) {
     if (Save_trace) {
-      ofstream fout("last_trace");
+      ofstream fout("last_run");
       fout << Trace_stream->readable_contents("");
       fout.close();
     }