aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/install/rule.cxx')
-rw-r--r--libbuild2/install/rule.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx
index 36a06fa..8818ea3 100644
--- a/libbuild2/install/rule.cxx
+++ b/libbuild2/install/rule.cxx
@@ -1198,11 +1198,11 @@ namespace build2
print_diag ("uninstall -d", chd);
}
- diag_buffer dbuf (rs.ctx);
process pr (run_start (pp, args,
- 0 /* stdin */,
- 1 /* stdout */,
- dbuf.open (args[0]) /* stderr */));
+ 0 /* stdin */,
+ 1 /* stdout */,
+ diag_buffer::pipe (rs.ctx) /* stderr */));
+ diag_buffer dbuf (rs.ctx, args[0], pr);
dbuf.read ();
r = run_finish_code (
dbuf,