diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-06-23T13·15-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-10T11·35+0200 |
commit | 7911e4c27a0020a61ace13cfdc44de4af02f315e (patch) | |
tree | db7d61bae393b67ed0a57e29aa2cd8ac99d655a1 /src/libutil/util.cc | |
parent | 04170d06bf7d17f882c01d3ab98885e0f3e46d2f (diff) |
Remove maybeVfork
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r-- | src/libutil/util.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index 8fc78b1463de..5f6203bc2805 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -868,7 +868,7 @@ string runProgram(Path program, bool searchPath, const Strings & args) /* Fork. */ Pid pid; - pid = maybeVfork(); + pid = fork(); switch (pid) { @@ -928,13 +928,6 @@ void closeOnExec(int fd) } -#if HAVE_VFORK -pid_t (*maybeVfork)() = vfork; -#else -pid_t (*maybeVfork)() = fork; -#endif - - ////////////////////////////////////////////////////////////////////// |