Mercurial > emacs
diff src/callproc.c @ 111544:107fd4b37e9d
Clean up src/systty.h macros.
* systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY)
(EMACS_SET_TTY): Remove unneeded abstraction, instead inline the
definition in all uses.
(EMACS_TTY_TABS_OK): Remove, it has a single user.
* src/sysdep.c (discard_tty_input, child_setup_tty)
(init_sys_modes, tabs_safe_p, reset_sys_modes):
* src/emacs.c (shut_down_emacs):
* src/callproc.c (child_setup):
* src/term.c (dissociate_if_controlling_tty): Inline removed macros.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 14 Nov 2010 22:10:35 -0800 |
parents | bec49af30c2f |
children | 876a7947c90d |
line wrap: on
line diff
--- a/src/callproc.c Sun Nov 14 21:52:58 2010 -0800 +++ b/src/callproc.c Sun Nov 14 22:10:35 2010 -0800 @@ -1221,7 +1221,7 @@ return cpid; #else /* not WINDOWSNT */ /* setpgrp_of_tty is incorrect here; it uses input_fd. */ - EMACS_SET_TTY_PGRP (0, &pid); + tcsetpgrp (0, pid); /* execvp does not accept an environment arg so the only way to pass this environment is to set environ. Our caller @@ -1609,5 +1609,3 @@ defsubr (&Scall_process_region); } -/* arch-tag: 769b8045-1df7-4d2b-8968-e3fb49017f95 - (do not change this comment) */