Commit 6254cdda authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux.

* src/term.c (dissociate_if_controlling_tty): Use USG5 instead of
USG.  This is equivalent to defined (USG) && !defined (BSD_PGRPS),
which is what was there before BSD_PGRPS was removed.
parent 52eeb591
2010-08-05 Dan Nicolaescu <dann@ics.uci.edu>
Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux.
* term.c (dissociate_if_controlling_tty): Use USG5 instead of
USG. This is equivalent to defined (USG) && !defined (BSD_PGRPS),
which is what was there before BSD_PGRPS was removed.
2010-08-05 Eli Zaretskii <eliz@gnu.org>
 
* deps.mk (unexcoff.o): Rename unexec.[co] => unexcoff.[co].
......
......@@ -3343,7 +3343,7 @@ dissociate_if_controlling_tty (int fd)
EMACS_GET_TTY_PGRP (fd, &pgid); /* If tcgetpgrp succeeds, fd is the ctty. */
if (pgid != -1)
{
#if defined (USG)
#if defined (USG5)
setpgrp ();
no_controlling_tty = 1;
#elif defined (CYGWIN)
......
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