aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/local-derivation-goal.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-15 10:37:39 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-03-15 10:59:10 +0100
commit6029c763c2c5998dc3265152425c8ff0ce01b1a0 (patch)
tree9da5c12ac0328b4019036d78849a4262e5db2fbb /src/libstore/build/local-derivation-goal.hh
parentcb28e4fe2a552000272793e248ea3f6a69d625d6 (diff)
Change builderOut from Pipe to AutoCloseFD
Diffstat (limited to 'src/libstore/build/local-derivation-goal.hh')
-rw-r--r--src/libstore/build/local-derivation-goal.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstore/build/local-derivation-goal.hh b/src/libstore/build/local-derivation-goal.hh
index c8537c7e5..c3e8562ae 100644
--- a/src/libstore/build/local-derivation-goal.hh
+++ b/src/libstore/build/local-derivation-goal.hh
@@ -24,8 +24,9 @@ struct LocalDerivationGoal : public DerivationGoal
/* The path of the temporary directory in the sandbox. */
Path tmpDirInSandbox;
- /* Pipe for the builder's standard output/error. */
- Pipe builderOut;
+ /* Master side of the pseudoterminal used for the builder's
+ standard output/error. */
+ AutoCloseFD builderOut;
/* Slave side of the pseudoterminal used for the builder's
standard output/error. */