From fda4f09181db880dc5199d191161d75d8b9ad2b4 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 19 Mar 2016 09:14:25 -0700 Subject: 2795 - quick hacks for Caleb It turns out that my extensible stash doesn't yet work well in all situations. If you try to stash an array, you end up trying to create an array local that's not statically sized -- a no-no. Bah, just throw it all out. --- 091run_interactive.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '091run_interactive.cc') diff --git a/091run_interactive.cc b/091run_interactive.cc index 70929a91..1e6bf9c2 100644 --- a/091run_interactive.cc +++ b/091run_interactive.cc @@ -427,8 +427,8 @@ int trace_app_contents() { } void truncate(string& x) { - if (SIZE(x) > 512) { - x.erase(512); + if (SIZE(x) > 1024) { + x.erase(1024); *x.rbegin() = '\n'; *++x.rbegin() = '.'; *++++x.rbegin() = '.'; -- cgit 1.4.1-2-gfad0