1
0
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:
Dan Nicolaescu 2007-09-07 03:56:26 +00:00
parent c8f1ea764e
commit de52dcbb98
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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));