Remove maybeVfork

This commit is contained in:
Eelco Dolstra 2014-06-23 09:15:35 -04:00
parent 04170d06bf
commit 7911e4c27a
5 changed files with 4 additions and 18 deletions

View file

@ -602,7 +602,7 @@ HookInstance::HookInstance()
builderOut.create();
/* Fork the hook. */
pid = maybeVfork();
pid = fork();
switch (pid) {
case -1:
@ -2781,7 +2781,7 @@ void SubstitutionGoal::tryToRun()
const char * * argArr = strings2CharPtrs(args);
/* Fork the substitute program. */
pid = maybeVfork();
pid = fork();
switch (pid) {

View file

@ -1083,7 +1083,7 @@ void LocalStore::startSubstituter(const Path & substituter, RunningSubstituter &
setSubstituterEnv();
run.pid = maybeVfork();
run.pid = fork();
switch (run.pid) {