aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/compile-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-11-02 09:56:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-11-08 11:08:03 +0200
commitf7f22db6030464f63eb942da04b3d5e10351f770 (patch)
treef1436a78ecb4d50b0d5b791ea89e44e30a8b7f10 /libbuild2/cc/compile-rule.cxx
parent2c140c400cf9e3a93aabaeca8abfa1009c40bf19 (diff)
More work on child process diagnostics buffering
Diffstat (limited to 'libbuild2/cc/compile-rule.cxx')
-rw-r--r--libbuild2/cc/compile-rule.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx
index 3a750a1..7221175 100644
--- a/libbuild2/cc/compile-rule.cxx
+++ b/libbuild2/cc/compile-rule.cxx
@@ -4608,7 +4608,7 @@ namespace build2
continue;
}
else
- run_finish (args, pr); // Throws.
+ run_finish (args, pr); // Throws. @@ DBUF
}
catch (const process_error& e)
{
@@ -5008,7 +5008,7 @@ namespace build2
info << "then run failing command to display compiler diagnostics";
}
else
- run_finish (args, pr); // Throws.
+ run_finish (args, pr); // Throws. @@ DBUF
}
catch (const process_error& e)
{
@@ -7218,7 +7218,7 @@ namespace build2
args.push_back (nullptr);
}
- dbuf.finish (args, pr);
+ run_finish (dbuf, args, pr);
}
catch (const process_error& e)
{
@@ -7275,8 +7275,7 @@ namespace build2
env.empty () ? nullptr : env.data ());
dbuf.read ();
-
- dbuf.finish (args, pr);
+ run_finish (dbuf, args, pr);
}
catch (const process_error& e)
{