Mercurial > hg > xemacs-beta
diff src/process-unix.c @ 5925:08cfc8f77fb6 cygwin
make space for long ptr, and store as such, for frame in WINDOW data,
add a bit more debugging to debug-mswindow,
Vin Shelton patch to fix M-x shell
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Fri, 27 Feb 2015 17:41:20 +0000 |
parents | a216b3c2b09e |
children |
line wrap: on
line diff
--- a/src/process-unix.c Fri Feb 06 09:08:37 2015 +0000 +++ b/src/process-unix.c Fri Feb 27 17:41:20 2015 +0000 @@ -1011,6 +1011,15 @@ retry_close (fd); } + /* Disconnect the current controlling terminal, pursuant to + making the pty be the controlling terminal of the process. + Also put us in our own process group. */ + + /* disconnect_controlling_terminal was in unix_create_process, + moved per email from Vin Shelton of 28-Jan-15 to xemacs-beta */ + + disconnect_controlling_terminal (); + /* we've wrapped execve; it translates its arguments */ qxe_execve (new_argv[0], new_argv, env); @@ -1120,12 +1129,8 @@ cause I/O, and that, in turn, can confuse the X connection. */ begin_dont_check_for_quit(); - /* Disconnect the current controlling terminal, pursuant to - making the pty be the controlling terminal of the process. - Also put us in our own process group. */ - - disconnect_controlling_terminal (); - + /* disconnect_controlling_terminal was here, moved per + email from Vin Shelton of 28-Jan-15 to xemacs-beta */ if (pty_flag) { /* Open the pty connection and make the pty's terminal