diff options
author | Markos Fountoulakis <44345837+mfundul@users.noreply.github.com> | 2019-07-09 07:25:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-09 07:25:54 +0300 |
commit | 0707fbaaac974dc63f9d5a1b9298b0d09b1c95da (patch) | |
tree | 24973cacf063fcc09805f943a600152154f3f0f9 /Makefile.am | |
parent | 43385d30c187ef463c4b7ef11bff710e30c49def (diff) |
Reimplemented mypopen() function family (#6339)
* Reimplementd mypopen() family based on posix_spawn() instead of fork()
and execl().
The problem with fork() is that if the parent process has a large address
space then the fork() may fail due to insufficient free memory in the
system if memory overcommit is not enabled.
posix_spawn() does not call fork() and does not suffer from this problem.
It is also more portable than vfork() which is deprecated and clone()
which is linux only.
* Removed dead code
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions