aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-03 11:36:55 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-03 11:36:55 +0000
commita67c4aa51393832cd8f15aae6e696f0bfb4af580 (patch)
treef5e67155ba063e0e8e4b95de382c603eeade5cad
parentbf59d191467608efce24e0e065d69ca02e7042f9 (diff)
downloadpaludis-a67c4aa51393832cd8f15aae6e696f0bfb4af580.tar.gz
paludis-a67c4aa51393832cd8f15aae6e696f0bfb4af580.tar.xz
Fix backtraces
-rw-r--r--paludis/util/exception.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/exception.cc b/paludis/util/exception.cc
index d66a31d..a0ba83a 100644
--- a/paludis/util/exception.cc
+++ b/paludis/util/exception.cc
@@ -61,7 +61,7 @@ Context::backtrace(const std::string & delim)
if (! context)
return "";
- return join(context->begin(), context->end(), delim);
+ return join(context->begin(), context->end(), delim) + delim;
}
namespace paludis
@@ -110,7 +110,7 @@ Exception::message() const throw ()
std::string
Exception::backtrace(const std::string & delim) const
{
- return join(_context_data->local_context.begin(), _context_data->local_context.end(), delim);
+ return join(_context_data->local_context.begin(), _context_data->local_context.end(), delim) + delim;
}
bool