diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2018-11-10 09:00:43 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-11-10 09:04:42 -0800 |
| commit | 9cd23a29147acb86c860ce11febe24cf837f3f8a (patch) | |
| tree | 8d13a8949a3e4f67b2b7a9e3baa2944b9f4162b5 /lisp/emacs-lisp/pp.el | |
| parent | a062fc4137ff195fe269076cda07a61c2e1a8012 (diff) | |
| download | emacs-9cd23a29147acb86c860ce11febe24cf837f3f8a.tar.gz | |
Dissociate controlling tty better on Darwin
* src/process.c (dissociate_controlling_tty): New function.
(create_process): Use it to dissociate controlling tty if setsid
fails, which happens on Darwin after a vfork (Bug#33154).
Do this on all platforms, not just on Darwin, as a similar
problem is plausible elsewhere.
* src/callproc.c (call_process): Use the new function here, too,
for consistency and to avoid duplicate code.
Diffstat (limited to 'lisp/emacs-lisp/pp.el')
0 files changed, 0 insertions, 0 deletions
