mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
* term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN.
This commit is contained in:
parent
c8f1ea764e
commit
de52dcbb98
@ -1,3 +1,7 @@
|
||||
2007-09-07 Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> (tiny change)
|
||||
|
||||
* term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN.
|
||||
|
||||
2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* window.c (Vsplit_window_preferred_function): New var.
|
||||
|
@ -3130,6 +3130,9 @@ dissociate_if_controlling_tty (int fd)
|
||||
#if defined (USG) && !defined (BSD_PGRPS)
|
||||
setpgrp ();
|
||||
no_controlling_tty = 1;
|
||||
#elif defined (CYGWIN)
|
||||
setsid ();
|
||||
no_controlling_tty = 1;
|
||||
#else
|
||||
#ifdef TIOCNOTTY /* Try BSD ioctls. */
|
||||
sigblock (sigmask (SIGTTOU));
|
||||
|
Loading…
Reference in New Issue
Block a user