aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-11-23 08:57:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-11-23 08:57:45 +0200
commitc6b1d1dd870b3370d0a09fb4600e3a6b03326f35 (patch)
treef400b0d4a67bd1e067b545372e7742c5665f5caf /libbuild2/parser.cxx
parentf19959de304afaff2b3d539c9bef1f493ede5fbd (diff)
Rework diag_buffer interface to facilitate correct destruction order
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index c761d09..c8f66de 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -3133,7 +3133,7 @@ namespace build2
cargs,
0 /* stdin */,
-1 /* stdout */,
- {-1, 2} /* stderr */,
+ 2 /* stderr */,
nullptr /* env */,
dir_path () /* cwd */,
l));