diff src/emacs.c @ 3801:13592aebe35e

Changes for correct pgrp behavior; approach suggested by Bob Glickstein <bobg@zindigo.z-code.com>: * m/iris4d.h (LIB_STANDARD): Do list -lbsd here. * s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp and BSDsetpgrp. (GETPGRP_NO_ARG): Don't #define this. * emacs.c (main): Don't test GETPGRP_NO_ARG. * sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
author Jim Blandy <jimb@redhat.com>
date Thu, 17 Jun 1993 05:04:57 +0000
parents 5acf09035d16
children 647bef18618f
line wrap: on
line diff
--- a/src/emacs.c	Thu Jun 17 05:03:45 1993 +0000
+++ b/src/emacs.c	Thu Jun 17 05:04:57 1993 +0000
@@ -300,11 +300,7 @@
 
 #ifdef BSD
   {
-#ifdef GETPGRP_NO_ARG
-    inherited_pgroup = getpgrp ();
-#else /* THISSENTENCE_NO_VERB */
     inherited_pgroup = getpgrp (0);
-#endif
     setpgrp (0, getpid ());
   }
 #endif
@@ -687,11 +683,7 @@
   {
     int tpgrp;
     if (EMACS_GET_TTY_PGRP (0, &tpgrp) != -1
-#ifdef GETPGRP_NO_ARG
-	&& tpgrp == getpgrp ())
-#else
 	&& tpgrp == getpgrp (0))
-#endif
       {
 	fflush (stdout);
 	reset_sys_modes ();