diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-10-05 11:04:46 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-10-05 11:04:46 +0200 |
commit | 3b7f4c7d9d124283cec7f7d42e0eca3e2de64d5a (patch) | |
tree | f225ac5b06f92387d3b6763f1af84651625c5151 /src/libstore/build | |
parent | d8a2f7f81d04c20eb6b7340c49e9a2d6b2dd2533 (diff) |
Add FIXME about ptsname
Diffstat (limited to 'src/libstore/build')
-rw-r--r-- | src/libstore/build/local-derivation-goal.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc index 2ba1b3f59..4cb43bc11 100644 --- a/src/libstore/build/local-derivation-goal.cc +++ b/src/libstore/build/local-derivation-goal.cc @@ -711,6 +711,7 @@ void LocalDerivationGoal::startBuilder() if (!builderOut.readSide) throw SysError("opening pseudoterminal master"); + // FIXME: not thread-safe, use ptsname_r std::string slaveName(ptsname(builderOut.readSide.get())); if (buildUser) { |