aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-10 17:25:12 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-10 17:25:38 +0100
commitb5ed5b6e666e9d1e23b7cbc815684bfef52c3d41 (patch)
tree1185f9b17af6f816c506ad6897c2377f8e8e82e4 /src
parent20cf0127f5a0cfd417bc7256db23f6eef2ad8141 (diff)
Rename function
Diffstat (limited to 'src')
-rw-r--r--src/libstore/build.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 539d0b21b..ab8923bbd 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -816,8 +816,8 @@ private:
/* Start building a derivation. */
void startBuilder();
- /* Initialise the builder's process. */
- void initChild();
+ /* Run the builder's process. */
+ void runChild();
friend int childEntry(void *);
@@ -1915,7 +1915,7 @@ void DerivationGoal::startBuilder()
/* Fork a child to build the package. */
pid = startProcess([&]() {
- initChild();
+ runChild();
});
/* parent */
@@ -1936,7 +1936,7 @@ void DerivationGoal::startBuilder()
}
-void DerivationGoal::initChild()
+void DerivationGoal::runChild()
{
/* Warning: in the child we should absolutely not make any SQLite
calls! */