Commit de52dcbb authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN.

parent c8f1ea76
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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment