aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-07-22 12:47:21 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-07-23 20:13:21 +0300
commit2d9579da2144b2a8d67ea1d05fde96ec9d365944 (patch)
treeb4e033f0e8284309efeecd68ba1e9cd70dc75220 /build2/b.cxx
parent3425432752d362341b8e39cd319d7f3c56aef169 (diff)
Adapt to fdstream extension
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index d16c0c6..748eda7 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -168,6 +168,9 @@ main (int argc, char* argv[])
//
return p.wait () ? 0 : 1;
}
+ // Catch ios_base::failure as std::system_error together with the
+ // pager-specific exceptions.
+ //
catch (const system_error& e)
{
error << "pager failed: " << e.what ();