diff options
| author | Philipp Stephani | 2020-12-25 11:33:02 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2020-12-25 11:54:02 +0100 |
| commit | 3ba34141da77a24c251ee6530f3f72a366fe556e (patch) | |
| tree | 66b28a4a122d20ca29548c8894fba2c6fa4645f3 /admin | |
| parent | 42d58264db165d265cba68d6dbebc53a50738355 (diff) | |
| download | emacs-3ba34141da77a24c251ee6530f3f72a366fe556e.tar.gz emacs-3ba34141da77a24c251ee6530f3f72a366fe556e.zip | |
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=' | |||
| 39 | getloadavg getopt-gnu getrandom gettime gettimeofday gitlog-to-changelog | 39 | getloadavg getopt-gnu getrandom gettime gettimeofday gitlog-to-changelog |
| 40 | ieee754-h ignore-value intprops largefile libgmp lstat | 40 | ieee754-h ignore-value intprops largefile libgmp lstat |
| 41 | manywarnings memmem-simple mempcpy memrchr minmax mkostemp mktime nstrftime | 41 | manywarnings memmem-simple mempcpy memrchr minmax mkostemp mktime nstrftime |
| 42 | pathmax pipe2 pselect pthread_sigmask | 42 | pathmax pipe2 |
| 43 | posix_spawn posix_spawn_file_actions_addchdir | ||
| 44 | posix_spawn_file_actions_adddup2 posix_spawn_file_actions_destroy | ||
| 45 | posix_spawn_file_actions_init | ||
| 46 | posix_spawnattr_destroy posix_spawnattr_init | ||
| 47 | posix_spawnattr_setflags posix_spawnattr_setpgroup | ||
| 48 | posix_spawnattr_setsigdefault posix_spawnattr_setsigmask | ||
| 49 | pselect pthread_sigmask | ||
| 43 | qcopy-acl readlink readlinkat regex | 50 | qcopy-acl readlink readlinkat regex |
| 44 | sig2str sigdescr_np socklen stat-time std-gnu11 stdalign stddef stdio | 51 | sig2str sigdescr_np socklen stat-time std-gnu11 stdalign stddef stdio |
| 45 | stpcpy strnlen strtoimax symlink sys_stat sys_time | 52 | stpcpy strnlen strtoimax symlink sys_stat sys_time |