diff options
| author | Alan Third | 2017-04-09 20:10:33 +0100 |
|---|---|---|
| committer | Alan Third | 2017-04-18 11:42:30 +0100 |
| commit | a13eaddce2ddbe3ba0b7f4c81715bc0fcdba99f6 (patch) | |
| tree | 5bf3f0b8fbd2187bb5e08261f29811ea269d4a33 /src/kqueue.c | |
| parent | 4ad6be65f68a5c875ecbaa9e66d8ced28f43670a (diff) | |
| download | emacs-a13eaddce2ddbe3ba0b7f4c81715bc0fcdba99f6.tar.gz emacs-a13eaddce2ddbe3ba0b7f4c81715bc0fcdba99f6.zip | |
Use vfork if possible on Darwin (bug#26397)
Co-authored-by: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* src/conf_post.h (HAVE_WORKING_VFORK): Don't undef.
(vfork): Don't define.
* src/process.c (create_process) [DARWIN_OS]: Use fork if pty_flag is
set, otherwise vfork.
* src/callproc.c (call_process) [DARWIN_OS]: Use TIOCNOTTY to detach
the controlling terminal instead of setsid.
Diffstat (limited to 'src/kqueue.c')
0 files changed, 0 insertions, 0 deletions