diff src/term.c @ 109633:ce2dcd6fda75

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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 05 Aug 2010 15:20:09 -0700
parents 4325622babca
children e4ad0b168969
line wrap: on
line diff
--- a/src/term.c	Thu Aug 05 11:30:35 2010 -0700
+++ b/src/term.c	Thu Aug 05 15:20:09 2010 -0700
@@ -3343,7 +3343,7 @@
   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)