aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/term.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7fc05c40994..918b7bd191f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12007-09-07 Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> (tiny change)
2
3 * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN.
4
12007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> 52007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * window.c (Vsplit_window_preferred_function): New var. 7 * window.c (Vsplit_window_preferred_function): New var.
diff --git a/src/term.c b/src/term.c
index 98d3b868349..2ed6435c344 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3130,6 +3130,9 @@ dissociate_if_controlling_tty (int fd)
3130#if defined (USG) && !defined (BSD_PGRPS) 3130#if defined (USG) && !defined (BSD_PGRPS)
3131 setpgrp (); 3131 setpgrp ();
3132 no_controlling_tty = 1; 3132 no_controlling_tty = 1;
3133#elif defined (CYGWIN)
3134 setsid ();
3135 no_controlling_tty = 1;
3133#else 3136#else
3134#ifdef TIOCNOTTY /* Try BSD ioctls. */ 3137#ifdef TIOCNOTTY /* Try BSD ioctls. */
3135 sigblock (sigmask (SIGTTOU)); 3138 sigblock (sigmask (SIGTTOU));