diff options
author | Philipp Stephani <phst@google.com> | 2020-12-25 11:33:02 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2020-12-25 11:54:02 +0100 |
commit | 3ba34141da77a24c251ee6530f3f72a366fe556e (patch) | |
tree | 66b28a4a122d20ca29548c8894fba2c6fa4645f3 /admin | |
parent | 42d58264db165d265cba68d6dbebc53a50738355 (diff) | |
download | emacs-3ba34141da77a24c251ee6530f3f72a366fe556e.tar.gz |
Import posix_spawn from Gnulib.
posix_spawn is less error-prone than vfork + exec, and can make use of
system-specific optimizations like `clone' on Linux. Import Gnulib
replacement so that we can use recent additions like
`posix_spawn_file_actions_addchdir'.
The only manual change are to admin/merge-gnulib and .gitignore. All
other changes are due to rerunning merge-gnulib.
* admin/merge-gnulib (GNULIB_MODULES): Add posix_spawn-related
modules.
* .gitignore: Add new generated files.
Diffstat (limited to 'admin')
-rwxr-xr-x | admin/merge-gnulib | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/admin/merge-gnulib b/admin/merge-gnulib index 880dc5eef53..f1ed2da69e5 100755 --- a/admin/merge-gnulib +++ b/admin/merge-gnulib @@ -39,7 +39,14 @@ GNULIB_MODULES=' getloadavg getopt-gnu getrandom gettime gettimeofday gitlog-to-changelog ieee754-h ignore-value intprops largefile libgmp lstat manywarnings memmem-simple mempcpy memrchr minmax mkostemp mktime nstrftime - pathmax pipe2 pselect pthread_sigmask + pathmax pipe2 + posix_spawn posix_spawn_file_actions_addchdir + posix_spawn_file_actions_adddup2 posix_spawn_file_actions_destroy + posix_spawn_file_actions_init + posix_spawnattr_destroy posix_spawnattr_init + posix_spawnattr_setflags posix_spawnattr_setpgroup + posix_spawnattr_setsigdefault posix_spawnattr_setsigmask + pselect pthread_sigmask qcopy-acl readlink readlinkat regex sig2str sigdescr_np socklen stat-time std-gnu11 stdalign stddef stdio stpcpy strnlen strtoimax symlink sys_stat sys_time |